fix(nvim): use correct index for cmp color highlights
This commit is contained in:
parent
66fd36bed9
commit
7a3a78c704
@ -99,7 +99,7 @@ return {
|
|||||||
})(entry, vim_item)
|
})(entry, vim_item)
|
||||||
if string.match(kind.kind, ".* Color$") then
|
if string.match(kind.kind, ".* Color$") then
|
||||||
kind.kind_hl_group =
|
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
|
end
|
||||||
|
|
||||||
local strings = vim.split(kind.kind, "%s", { trimempty = true })
|
local strings = vim.split(kind.kind, "%s", { trimempty = true })
|
||||||
|
Loading…
Reference in New Issue
Block a user