feat: Add more highlights to nvim-cmp

This should close #36.
For information sake, the colors and the arrangement is very personal,
and can be subject to changes.
Feel free to complete the list of supported CmpItemKind from there: https://github.com/hrsh7th/nvim-cmp/blob/main/lua/cmp/types/lsp.lua#L108
This commit is contained in:
danymat 2021-12-01 00:06:09 +01:00
commit 7b50508629

View file

@ -414,6 +414,14 @@ theme.plugins = {
CmpItemAbbrMatch = { fg = p.text, style = 'bold' },
CmpItemAbbrMatchFuzzy = { fg = p.text, style = 'bold' },
CmpItemAbbrDeprecated = { fg = p.subtle, style = 'strikethrough' },
CmpItemKindVariable = { fg = p.foam },
CmpItemKindClass = { fg = p.gold },
CmpItemKindInterface = { fg = p.gold },
CmpItemKindFunction = { fg = p.iris },
CmpItemKindMethod = { fg = p.iris },
CmpItemKindSnippet = { fg = p.iris },
CmpItemKindKeyword = { fg = p.subtle },
CmpItemKindText = { fg = p.subtle },
-- neogit
-- https://github.com/TimUntersberger/neogit