From 0104387b04153ba420425f6bcee28c6a8d2b82ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Tue, 19 Jan 2021 11:17:32 +0100 Subject: [PATCH] Optionally include ultisnips if python3 is available --- symlinks/vim/plugins.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/symlinks/vim/plugins.vim b/symlinks/vim/plugins.vim index 5feb134..327a11d 100644 --- a/symlinks/vim/plugins.vim +++ b/symlinks/vim/plugins.vim @@ -77,8 +77,10 @@ Plug 'tpope/vim-sleuth' " ----------------------------------------------------------------------------- " - Snippets - " ----------------------------------------------------------------------------- -Plug 'SirVer/ultisnips' -Plug 'honza/vim-snippets' +if !exists('g:loaded_python3_provider') || g:loaded_python3_provider != 0 + Plug 'SirVer/ultisnips' + Plug 'honza/vim-snippets' +endif " ----------------------------------------------------------------------------- " - Language support -