vim: only load ultisnips when python3 is available

pull/6/head
bretello 2022-03-25 08:13:48 +01:00
parent ecd2472910
commit 78ee86c14a
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 4 additions and 2 deletions

View File

@ -50,8 +50,10 @@ Plug 'junegunn/fzf.vim'
Plug 'https://github.com/ludovicchabant/vim-gutentags.git'
" snippets
Plug 'https://github.com/SirVer/ultisnips'
Plug 'https://github.com/honza/vim-snippets'
if has("python3")
Plug 'https://github.com/SirVer/ultisnips'
Plug 'https://github.com/honza/vim-snippets'
endif
" Git gutter line
Plug 'https://github.com/airblade/vim-gitgutter'