aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-03 23:12:58 +0800
committerGuangxiong Lin <[email protected]>2022-04-03 23:16:17 +0800
commitb89c9f7c97fc0842a05cf304299ecd6d23fdc942 (patch)
treebfc10d402cb23d13b56117073c2198d73cefc21d
parentd9c97e643d5462b2ff9fccf0572a5d5ef01e1b4a (diff)
downloaddotfiles-b89c9f7c97fc0842a05cf304299ecd6d23fdc942.tar.gz
dotfiles-b89c9f7c97fc0842a05cf304299ecd6d23fdc942.tar.bz2
dotfiles-b89c9f7c97fc0842a05cf304299ecd6d23fdc942.zip
Set ultisnips as opt package (vim)
-rw-r--r--.vim/after/plugin/minpac.vim2
-rw-r--r--.vim/after/plugin/ultisnips.vim2
2 files changed, 3 insertions, 1 deletions
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index f242e46..38e95fc 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -18,7 +18,7 @@ function! InitMinpac() abort
call minpac#add('https://github.com/ycm-core/YouCompleteMe',
\ {'do': function('s:build_ycm')})
call minpac#add('https://github.com/dense-analysis/ale.git')
- call minpac#add('https://github.com/SirVer/ultisnips.git')
+ call minpac#add('https://github.com/SirVer/ultisnips.git', {'type': 'opt'})
call minpac#add('https://github.com/honza/vim-snippets')
call minpac#add('https://github.com/ludovicchabant/vim-gutentags.git')
diff --git a/.vim/after/plugin/ultisnips.vim b/.vim/after/plugin/ultisnips.vim
index 579cd03..dd4491a 100644
--- a/.vim/after/plugin/ultisnips.vim
+++ b/.vim/after/plugin/ultisnips.vim
@@ -1,3 +1,5 @@
let g:UltiSnipsExpandTrigger='<c-j>'
let g:UltiSnipsJumpForwardTrigger='<c-j>'
let g:UltiSnipsJumpBackwardTrigger='<c-k>'
+
+packadd ultisnips