summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/custom-neovim/asset/rc.vim5
-rw-r--r--pkgs/custom-neovim/default.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/asset/rc.vim b/pkgs/custom-neovim/asset/rc.vim
index dee54ff..fbab929 100644
--- a/pkgs/custom-neovim/asset/rc.vim
+++ b/pkgs/custom-neovim/asset/rc.vim
@@ -146,3 +146,8 @@ let g:gutentags_enabled = 0
if executable('ctags')
let g:gutentags_enabled = 1
end
+
+let g:UltiSnipsExpandTrigger = '<Tab>'
+let g:UltiSnipsJumpForwardTrigger = '<Tab>'
+
+let g:UltiSnipsSnippetDirectories = [$PWD.'/.lvimsnip', $HOME.'/.config/nvim/snip']
diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix
index e7d7764..0615b7e 100644
--- a/pkgs/custom-neovim/default.nix
+++ b/pkgs/custom-neovim/default.nix
@@ -41,6 +41,7 @@ in pkgs.neovim.override {
vim-sandwich
tabular
far
+ ultisnips
# git integration
vim-gitgutter