Improve performance (maybe)

This commit is contained in:
hrsh7th
2021-09-19 01:06:29 +09:00
parent 86c2b1bb63
commit 7bfa33a8db

View File

@@ -248,7 +248,7 @@ entry.get_vim_item = function(self, suggest_offset)
end end
vim_item.equal = 1 vim_item.equal = 1
vim_item.empty = 1 vim_item.empty = 1
vim_item.user_data = { cmp = self.id } vim_item.user_data = ('cmp:%s'):format(self.id)
return vim_item return vim_item
end) end)