From 1dafe784cccc8dd3f2843296b2817ae4146814d3 Mon Sep 17 00:00:00 2001 From: ikws4 Date: Tue, 28 Sep 2021 21:58:54 +0800 Subject: [PATCH] feat: add highlight for nvim_cmp --- lua/rose-pine/theme.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index dc9caf0..bb531e8 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -336,6 +336,14 @@ theme.plugins = { -- indent-blankline.nvim -- https://github.com/lukas-reineke/indent-blankline.nvim IndentBlanklineChar = { fg = p.subtle }, + + -- nvim-cmp + -- https://github.com/hrsh7th/nvim-cmp + CmpItemKind = { fg = p.iris }, + CmpItemAbbr = { fg = p.subtle }, + CmpItemAbbrMatch = { fg = p.text, style = 'bold' }, + CmpItemAbbrMatchFuzzy = { fg = p.text, style = 'bold' }, + CmpItemAbbrDeprecated = { fg = p.subtle, style = 'strikethrough' }, } return theme