From 673ebacc8fba36044ef81f13de0bc0ba5e55ec20 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 6 Feb 2023 15:52:28 -0500 Subject: [PATCH] Disable autocompletion logic when running in vimpager mode --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vimrc b/vimrc index bb83e08..4b54207 100644 --- a/vimrc +++ b/vimrc @@ -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')