vim: Conditionally load ultisnips

This commit is contained in:
Simon Bruder 2020-06-02 17:20:50 +02:00
parent 8b676da4ec
commit ef24364853
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -35,11 +35,13 @@ Plug 'majutsushi/tagbar'
nmap <F8> :TagbarToggle<CR>
" Snippets
Plug 'SirVer/ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'honza/vim-snippets'
if has('python3')
Plug 'SirVer/ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'honza/vim-snippets'
endif
" Airline
Plug 'vim-airline/vim-airline'