feat: add more nvim cmp

This commit is contained in:
benjamin 2024-12-07 15:27:26 +00:00
commit 4e649a844e
2 changed files with 11 additions and 0 deletions

View file

@ -565,6 +565,16 @@ local function set_highlights()
CmpItemKindMethod = { link = "PreProc" },
CmpItemKindSnippet = { link = "String" },
CmpItemKindVariable = { link = "Identifier" },
CmpItemMenu = { fg = palette.text },
CmpItemKindKeyword = { link = "Keyword" },
CmpItemKindText = { fg = palette.text },
CmpItemKindConstructor = { link = "@constructor" },
CmpItemKindFolder = { link = "NvimTreeFolderIcon" },
CmpItemKindModule = { link = "@module" },
CmpItemKindConstant = { link = "Constant" },
CmpItemKindProperty = { link = "@property" },
CmpItemKindEnum = { link = "@lsp.type.enum" },
-- NeogitOrg/neogit
-- https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua#L109-L198