vim: Conditionally load ultisnips
This commit is contained in:
parent
8b676da4ec
commit
ef24364853
|
@ -35,11 +35,13 @@ Plug 'majutsushi/tagbar'
|
||||||
nmap <F8> :TagbarToggle<CR>
|
nmap <F8> :TagbarToggle<CR>
|
||||||
|
|
||||||
" Snippets
|
" Snippets
|
||||||
Plug 'SirVer/ultisnips'
|
if has('python3')
|
||||||
let g:UltiSnipsExpandTrigger = '<tab>'
|
Plug 'SirVer/ultisnips'
|
||||||
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
let g:UltiSnipsExpandTrigger = '<tab>'
|
||||||
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
||||||
Plug 'honza/vim-snippets'
|
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
||||||
|
Plug 'honza/vim-snippets'
|
||||||
|
endif
|
||||||
|
|
||||||
" Airline
|
" Airline
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
|
|
Reference in a new issue