feat: Add more highlights to nvim-cmp (#37)

* 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

* fix: Remove subtle hl for CmpItemKinds
This commit is contained in:
Daniel Mathiot 2021-12-01 00:31:36 +01:00 committed by GitHub
commit 8a1fe15416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -414,6 +414,12 @@ 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 },
-- neogit
-- https://github.com/TimUntersberger/neogit