vimrc: try to reduce deoplete flicker

This commit is contained in:
Rob Watson 2021-03-23 21:17:38 +01:00
parent c16e96435c
commit 85aef3277a
1 changed files with 5 additions and 4 deletions

9
vimrc
View File

@ -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