From 61ffac6e9430ef5a1d27c7b26be4b857616166d8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 12 Oct 2022 08:10:58 +0200 Subject: [PATCH] feat: link CurSearch to IncSearch --- lua/tokyonight/theme.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index a6c578f..d671682 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -72,6 +72,7 @@ function M.setup() QuickFixLine = { bg = c.bg_visual, bold = true }, -- 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.orange, fg = c.black }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" + CurSearch = { link = "IncSearch" }, SpecialKey = { fg = c.dark3 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace| SpellBad = { sp = c.error, undercurl = true }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellCap = { sp = c.warning, undercurl = true }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.