From 30b3d2e0a2c297cf2e56faa2c7b1501f13b2f578 Mon Sep 17 00:00:00 2001 From: Tarun <77536695+TarunDaCoder@users.noreply.github.com> Date: Wed, 4 May 2022 12:55:19 +0530 Subject: [PATCH] feat: add CurSearch highlight group --- lua/catppuccin/core/mapper.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/catppuccin/core/mapper.lua b/lua/catppuccin/core/mapper.lua index 89e8255..9d01cf3 100644 --- a/lua/catppuccin/core/mapper.lua +++ b/lua/catppuccin/core/mapper.lua @@ -59,7 +59,8 @@ local function get_base() QuickFixLine = { bg = cp.surface1, style = "bold" }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there. Search = { bg = cp.surface1, fg = cp.pink, style = "bold" }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand oucp. IncSearch = { bg = cp.pink, fg = cp.surface1 }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" - SpecialKey = { fg = cp.text }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' textspace. |hl-Whitespace| + CurSearch = { bg = cp.red, fg = cp.none } -- 'cursearch' highlighting: highlights the current search you're on differently + SpecialKey = { fg = cp.text }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' textspace. |hl-Whitespace| SpellBad = { sp = cp.red, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellCap = { sp = cp.yellow, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. SpellLocal = { sp = cp.blue, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.