Skip to content

Commit

Permalink
Remove check for 'isIncomplete' on completion
Browse files Browse the repository at this point in the history
closes: #366
  • Loading branch information
saccarosium committed Nov 2, 2024
1 parent e34c17e commit e8aa2b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions autoload/lsp/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,7 @@ def g:LspOmniFunc(findstart: number, base: string): any
var res: list<dict<any>> = lspserver.completeItems
var prefix = lspserver.omniCompleteKeyword

# Don't attempt to filter on the items, when "isIncomplete" is set
if prefix->empty() || lspserver.completeItemsIsIncomplete
if prefix->empty()
return res
endif

Expand Down

0 comments on commit e8aa2b7

Please sign in to comment.