fix(incsearch): set background color instead of using standout
Some checks failed
CI / extras (push) Has been cancelled
CI / tests (ubuntu-latest) (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / release (push) Has been cancelled

fix visual discrepancies in opts.indent when yanking lines

fix #53
This commit is contained in:
Takuya Matsuyama 2024-12-24 13:47:35 +09:00
parent f53684190f
commit 2fa6c3091c

View file

@ -70,7 +70,7 @@ function M.setup()
Question = { fg = c.cyan500, bold = true }, -- |hit-enter| prompt and yes/no questions
QuickFixLine = { bg = c.blue700, bold = true }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
Search = { fg = c.yellow500, reverse = true }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
IncSearch = { fg = c.orange500, standout = true }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
IncSearch = { fg = c.base2, bg = c.orange500 }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
CurSearch = { link = "IncSearch" },
SpecialKey = { fg = c.base00 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { sp = c.red500, undercurl = true }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.