We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6262bae commit 56835a9Copy full SHA for 56835a9
autoload/lsp/ui/vim/completion.vim
@@ -23,6 +23,8 @@ endfunction
23
" 6. then the line is `call getbufline(|` in `s:on_complete_done_after`
24
"
25
function! s:on_complete_done() abort
26
+ " Somtimes, vim occurs `CompleteDone` unexpectedly.
27
+ " We try to detect it by checking empty completed_item.
28
if empty(v:completed_item) || get(v:completed_item, 'word', '') ==# '' && get(v:completed_item, 'abbr', '') ==# ''
29
doautocmd User lsp_complete_done
30
return
0 commit comments