Skip to content

Commit

Permalink
bugfix for pum selecting
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Jan 13, 2024
1 parent 49245b9 commit 675691f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions autoload/easycomplete/pum.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 675691f

Please sign in to comment.