diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index 8ce5899c..94c671d3 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -227,7 +227,7 @@ export def CompletionReply(lspserver: dict, cItems: any) # snippet completion. Needs a snippet plugin to expand the snippet. # Remove all the snippet placeholders d.word = MakeValidWord(d.word) - elseif !lspserver.completeItemsIsIncomplete || lspOpts.useBufferCompletion + elseif lspserver.completeItemsIsIncomplete || lspOpts.useBufferCompletion # Filter items only when "isIncomplete" is set (otherwise server would # have done the filtering) or when buffer completion is enabled