something broken in my completion script

This commit is contained in:
Andy Teijelo Pérez 2022-09-23 13:12:35 -04:00
parent 63484f6704
commit 2518f5fee8

View file

@ -53,7 +53,7 @@ cmp.setup({
format = function(entry, vim_item) format = function(entry, vim_item)
vim_item.abbr = string.sub(vim_item.abbr, 1, 20) vim_item.abbr = string.sub(vim_item.abbr, 1, 20)
vim_item.kind = string.sub(vim_item.kind, 1, 10) vim_item.kind = string.sub(vim_item.kind, 1, 10)
vim_item.menu = string.sub(vim_item.menu, 1, 10) -- vim_item.menu = string.sub(vim_item.menu, 1, 10)
return vim_item return vim_item
end end
} }