fix: make IncSearch orange to easily see where the cursor is. Fixes #20

This commit is contained in:
Folke Lemaitre
2021-04-26 07:28:33 +02:00
parent 83a69f8333
commit a3265f28dc

View File

@@ -58,7 +58,7 @@ function M.setup(config)
Question = { fg = c.blue }, -- |hit-enter| prompt and yes/no questions
QuickFixLine = { bg = c.bg_visual, style = "bold" }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
Search = { bg = c.bg_search, fg = c.fg }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
IncSearch = { bg = c.bg_search, fg = c.fg }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
IncSearch = { bg = c.orange, fg = c.black }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
SpecialKey = { fg = c.dark3 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { fg = c.error, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = { fg = c.warning, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.