diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index b3900e5..deba464 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -108,10 +108,12 @@ au BufEnter *.tex set spell spelllang=en_ca " au TextChanged,TextChangedI *.tex silent write -Plug 'SirVer/ultisnips' -let g:UltiSnipsExpandTrigger="" -let g:UltiSnipsJumpForwardTrigger="" -let g:UltiSnipsJumpBackwardTrigger="" -let g:UltiSnipsSnippetDirectories=[$HOME.'/.config/nvim/ultisnips/'] +if has('python3') + Plug 'SirVer/ultisnips' + let g:UltiSnipsExpandTrigger="" + let g:UltiSnipsJumpForwardTrigger="" + let g:UltiSnipsJumpBackwardTrigger="" + let g:UltiSnipsSnippetDirectories=[$HOME.'/.config/nvim/ultisnips/'] +endif call plug#end()