From 97e91b68a00b9c2f4c76dca951bfaa3fbbf3547b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 19 Apr 2023 20:27:20 +0800 Subject: vim: remove buggy asyncomplete-omni --- .vim/after/plugin/asyncomplete.vim | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to '.vim') diff --git a/.vim/after/plugin/asyncomplete.vim b/.vim/after/plugin/asyncomplete.vim index 8e96762..7eda153 100644 --- a/.vim/after/plugin/asyncomplete.vim +++ b/.vim/after/plugin/asyncomplete.vim @@ -4,9 +4,10 @@ endif inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? asyncomplete#close_popup() : "\" +inoremap pumvisible() ? "\" : "\" let g:asyncomplete_auto_popup = 1 +let g:asyncomplete_auto_completeopt = 0 packadd asyncomplete.vim packadd asyncomplete-lsp.vim @@ -47,13 +48,15 @@ au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#source \ }, \ })) -packadd asyncomplete-omni.vim -autocmd User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({ -\ 'name': 'omni', -\ 'allowlist': ['*'], -\ 'blocklist': [], -\ 'completor': function('asyncomplete#sources#omni#completor'), -\ 'config': { -\ 'show_source_kind': 1, -\ }, -\ })) +" asyncomplete-omni is buggy. Remove it temoperorily. + +" packadd asyncomplete-omni.vim +" autocmd User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({ +" \ 'name': 'omni', +" \ 'allowlist': ['*'], +" \ 'blocklist': [], +" \ 'completor': function('asyncomplete#sources#omni#completor'), +" \ 'config': { +" \ 'show_source_kind': 1, +" \ }, +" \ })) -- cgit v1.2.3