From 33588ca25368731c85121c208825467acbebb488 Mon Sep 17 00:00:00 2001 From: Daan Goossens Date: Sun, 24 Jul 2022 05:14:42 +0200 Subject: [PATCH] fix: #1030 (#1062) --- lua/cmp/entry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/entry.lua b/lua/cmp/entry.lua index c478140..ab03753 100644 --- a/lua/cmp/entry.lua +++ b/lua/cmp/entry.lua @@ -383,7 +383,7 @@ entry.match = function(self, input, matching_config) end 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 return { score = score, matches = matches }