This commit is contained in:
Daan Goossens
2022-07-24 05:14:42 +02:00
committed by GitHub
parent 1568d76981
commit 33588ca253

View File

@@ -383,7 +383,7 @@ entry.match = function(self, input, matching_config)
end end
if self:get_filter_text() ~= self:get_completion_item().label then if self:get_filter_text() ~= self:get_completion_item().label then
_, matches = matcher.match(input, self:get_completion_item().label, { self:get_word() }) _, matches = matcher.match(input, self:get_completion_item().label, { synonyms = { self:get_word() } })
end end
return { score = score, matches = matches } return { score = score, matches = matches }