From 6489d7cc627b590229b61eabfbc83675d63c1e83 Mon Sep 17 00:00:00 2001 From: Devin <47056144+ikws4@users.noreply.github.com> Date: Wed, 29 Sep 2021 08:44:21 +0800 Subject: [PATCH] feat: add highlight for nvim_cmp (#24) * feat: add highlight for nvim_cmp * fix: indentation --- 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..06983a3 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