This commit is contained in:
hrsh7th
2021-10-16 13:27:36 +09:00
parent 5fe7dc1eea
commit ebe040b1a9
7 changed files with 32 additions and 21 deletions

View File

@@ -32,7 +32,7 @@ local entry = {}
---@return cmp.Entry
entry.new = function(ctx, source, completion_item)
local self = setmetatable({}, { __index = entry })
self.id = misc.id('entry')
self.id = misc.id('entry.new')
self.cache = cache.new()
self.match_cache = cache.new()
self.score = 0