From 85aef3277a73a5c733309bf2afac76de6b6218e6 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 23 Mar 2021 21:17:38 +0100 Subject: [PATCH] vimrc: try to reduce deoplete flicker --- vimrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index cbf5258..c983a92 100644 --- a/vimrc +++ b/vimrc @@ -143,11 +143,12 @@ packadd! deoplete.nvim " Disable completion messages: set shortmess+=c let g:deoplete#enable_at_startup = 1 -call deoplete#custom#option('num_processes', 6) -call deoplete#custom#option('max_list', 250) -call deoplete#custom#option('auto_complete_delay', 0) +call deoplete#custom#option('num_processes', 1) +call deoplete#custom#option('max_list', 30) +call deoplete#custom#option('auto_complete_delay', 25) call deoplete#custom#option('auto_refresh_delay', 250) call deoplete#custom#option('refresh_always', v:false) +call deoplete#custom#option('prev_completion_mode', 'length') call deoplete#custom#option('omni_patterns', { \ 'go': '[^. *\t]\.\w*', \}) @@ -336,7 +337,7 @@ augroup END runtime macros/matchit.vim " load other plugins: -packadd! tmux-complete.vim +" packadd! tmux-complete.vim packadd! vim-commentary " Requires both fzf.vim plugin to be manually installed: " https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim