Remove abbr formatting

This commit is contained in:
hrsh7th
2021-10-10 14:00:59 +09:00
parent 0a31d67219
commit f4c33ac7a9

View File

@@ -227,7 +227,7 @@ entry.get_vim_item = function(self, suggest_offset)
return self.cache:ensure({ 'get_vim_item', suggest_offset, self.resolved_completion_item and 1 or 0 }, function()
local completion_item = self:get_completion_item()
local word = self:get_word()
local abbr = str.oneline(str.trim(completion_item.label))
local abbr = str.oneline(completion_item.label)
-- ~ indicator
if #(misc.safe(completion_item.additionalTextEdits) or {}) > 0 then