Disable plugins that complain about missing dependencies when those dependencies aren't available

This commit is contained in:
Kevin MacMartin 2017-02-12 18:55:17 -05:00
parent 0de84ede45
commit b6d303b047

14
vimrc
View file

@ -36,7 +36,19 @@
runtime config/settings.vim
"Init Plugin Loader:
if has('nvim')|let pathogen_disabled=['vim-fixkey', 'neocomplete.vim']|endif " disable incompatible plugins for neovim
let pathogen_disabled=[]
" disable incompatible plugins
if has('nvim')
call add(pathogen_disabled, 'vim-fixkey')
call add(pathogen_disabled, 'neocomplete.vim')
endif
if !has('python')
call add(pathogen_disabled, 'MatchTagAlways')
endif
if !has('lua')
call add(pathogen_disabled, 'neocomplete.vim')
endif
runtime bundle/vim-pathogen/autoload/pathogen.vim
"Load Keymappings: