Skip to content

Commit

Permalink
fix completion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Dec 30, 2024
1 parent 144ce62 commit 6e06478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export def CompletionReply(lspserver: dict<any>, 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

Expand Down

0 comments on commit 6e06478

Please sign in to comment.