lspkind: fix bug

This commit is contained in:
Pedro Alves 2022-11-10 19:05:44 +00:00
parent 52e605166b
commit faf0a946b4

View file

@ -82,7 +82,7 @@ in
function(entry, vim_item)
local kind = require('lspkind').cmp_format(${helpers.toLuaObject options})(entry, vim_item)
return ${cfg.cmp.after}(entry, vim_after, kind)
return (${cfg.cmp.after})(entry, vim_after, kind)
end
'' else ''
require('lspkind').cmp_format(${helpers.toLuaObject options})