Closed MuntasirSZN closed 3 weeks ago
I did some tweaking, this kinda works. Just, i want the highlighted color on left side of the word bg.
cmp.setup({
formatting = {
format = function(entry, item)
local color_item = require("nvim-highlight-colors").format(entry, { kind = item.kind })
item.kind = string.format("%s %s", icons.kinds[item.kind] or "", item.kind)
if color_item.abbr_hl_group then
item.kind_hl_group = color_item.abbr_hl_group
item.kind = color_item.abbr
end
return item
end,
},
I want it to be on the right side.
Please refer to the README
Pls help. My icons working correctly, but the colors squared not showing in tailwind in the right side.