From 675691f57fa71205d414eaafa411ec368e25076f Mon Sep 17 00:00:00 2001 From: lijing00333 Date: Sat, 13 Jan 2024 21:40:16 +0800 Subject: [PATCH] bugfix for pum selecting --- README.md | 1 - autoload/easycomplete/pum.vim | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a5f15c..c81f4a8 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,6 @@ Global configurations | `g:easycomplete_diagnostics_enable` | 1 | Enable diagnostics | | `g:easycomplete_signature_enable` | 1 | Enable signature | | `g:easycomplete_diagnostics_hover` | 1 | Gives a diagnostic prompt when the cursor holds | -| `g:easycomplete_fuzzymatch_hlgroup` | `""` | Custom fuzzy matching charactors Highlight group name | | `g:easycomplete_pum_format` | `["abbr", "kind", "menu"]`| Pmenu format | Typing `:h easycomplete` for help. diff --git a/autoload/easycomplete/pum.vim b/autoload/easycomplete/pum.vim index c1ea2b5..56c101e 100644 --- a/autoload/easycomplete/pum.vim +++ b/autoload/easycomplete/pum.vim @@ -461,6 +461,7 @@ function! s:InsertWord(word) noa setl textwidth=0 call timer_start(0, { -> execute('noa setl textwidth='.textwidth)}) endif + call s:insert_zizz() silent! noa call complete(startcol, [{ 'empty': v:true, 'word': a:word }]) silent! noa call complete(startcol, []) execute 'noa set completeopt='.saved_completeopt