mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-13 16:32:30 -05:00
Disable plugins that complain about missing dependencies when those dependencies aren't available
This commit is contained in:
parent
0de84ede45
commit
b6d303b047
1 changed files with 13 additions and 1 deletions
14
vimrc
14
vimrc
|
@ -36,7 +36,19 @@
|
||||||
runtime config/settings.vim
|
runtime config/settings.vim
|
||||||
|
|
||||||
"Init Plugin Loader:
|
"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
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||||
|
|
||||||
"Load Keymappings:
|
"Load Keymappings:
|
||||||
|
|
Loading…
Reference in a new issue