diff --git a/dots/.config/nvim/lua/plugins/configs/cmp.lua b/dots/.config/nvim/lua/plugins/configs/cmp.lua index 927863db..19f88be4 100644 --- a/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -99,7 +99,7 @@ return { })(entry, vim_item) if string.match(kind.kind, ".* Color$") then kind.kind_hl_group = - handle_color_hl(entry.cache.entries.get_completion_item.documentation) + handle_color_hl(entry.cache.entries.get_completion_item.label) end local strings = vim.split(kind.kind, "%s", { trimempty = true })