This commit is contained in:
hrsh7th
2022-01-20 17:26:05 +09:00
parent 7a1e484806
commit 1797f9e1ac
2 changed files with 2 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ entry.match = function(self, input)
return self.match_cache:ensure({ input, self.resolved_completion_item and 1 or 0 }, function()
local filter_text = self:get_filter_text()
local score, matches
local score, matches, _
score, matches = matcher.match(input, filter_text, { self:get_word(), self:get_completion_item().label })
-- Support the language server that doesn't respect VSCode's behaviors.