From 9f6d2b42253dda8db950ab38795978e5420a93aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isra=C3=ABl=20Hall=C3=A9?= Date: Sat, 8 Jan 2022 00:34:07 -0500 Subject: [PATCH] Default CmpItemKind%name% to CmpItemKind (#712) Reading the doc it seemed I could set `CmpItemKind` to override all item kind. Am I missing something? --- plugin/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/cmp.lua b/plugin/cmp.lua index ae4d4f6..eda9db3 100644 --- a/plugin/cmp.lua +++ b/plugin/cmp.lua @@ -82,7 +82,7 @@ misc.set(_G, { 'cmp', 'plugin', 'colorscheme' }, function() }) for name in pairs(types.lsp.CompletionItemKind) do 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 highlight.inherit('CmpItemMenuDefault', 'Pmenu', {