Disable autocompletion logic when running in vimpager mode

This commit is contained in:
Kevin MacMartin 2023-02-06 15:52:28 -05:00
parent bca53bfe64
commit 673ebacc8f

8
vimrc
View file

@ -89,6 +89,14 @@
call add(pathogen_disabled, 'vim-hug-neovim-rpc')
endif
"disable autocompletion logic when running in vimpager mode
if exists('g:vimpager.enabled')
call add(pathogen_disabled, 'deoplete.nvim')
call add(pathogen_disabled, 'neco-syntax')
call add(pathogen_disabled, 'nvim-yarp')
call add(pathogen_disabled, 'vim-hug-neovim-rpc')
endif
"if neovim is being used we should disable plugins that aren't compatible or necessary
if has('nvim')
call add(pathogen_disabled, 'vim-fixkey')