From 8a1fe154167a8094a3b2944bc04f513029e65a08 Mon Sep 17 00:00:00 2001 From: Daniel Mathiot Date: Wed, 1 Dec 2021 00:31:36 +0100 Subject: [PATCH] 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 --- lua/rose-pine/theme.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index f688027..ea297b8 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -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