Default CmpItemKind%name% to CmpItemKind (#712)
Reading the doc it seemed I could set `CmpItemKind` to override all item kind. Am I missing something?
This commit is contained in:
@@ -82,7 +82,7 @@ misc.set(_G, { 'cmp', 'plugin', 'colorscheme' }, function()
|
|||||||
})
|
})
|
||||||
for name in pairs(types.lsp.CompletionItemKind) do
|
for name in pairs(types.lsp.CompletionItemKind) do
|
||||||
if type(name) == 'string' then
|
if type(name) == 'string' then
|
||||||
vim.cmd(([[highlight default link CmpItemKind%sDefault CmpItemKindDefault]]):format(name))
|
vim.cmd(([[highlight default link CmpItemKind%sDefault CmpItemKind]]):format(name))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
highlight.inherit('CmpItemMenuDefault', 'Pmenu', {
|
highlight.inherit('CmpItemMenuDefault', 'Pmenu', {
|
||||||
|
|||||||
Reference in New Issue
Block a user