From e4def19944485787f5172bb952f8d46755999688 Mon Sep 17 00:00:00 2001 From: Wadii Hajji Date: Sun, 1 May 2022 03:07:49 +0200 Subject: [PATCH] feat(hl): Add `CurSearch` (#83) --- colors/duckbones.vim | 1 + colors/forestbones.vim | 2 ++ colors/kanagawabones.vim | 1 + colors/neobones.vim | 2 ++ colors/nordbones.vim | 1 + colors/rosebones.vim | 2 ++ colors/seoulbones.vim | 2 ++ colors/tokyobones.vim | 2 ++ colors/vimbones.vim | 1 + colors/zenbones.vim | 2 ++ colors/zenburned.vim | 1 + colors/zenwritten.vim | 2 ++ lua/zenbones/specs/dark.lua | 1 + lua/zenbones/specs/light.lua | 1 + 14 files changed, 21 insertions(+) diff --git a/colors/duckbones.vim b/colors/duckbones.vim index 5236db8..c1c47bb 100644 --- a/colors/duckbones.vim +++ b/colors/duckbones.vim @@ -120,6 +120,7 @@ if &background ==# 'dark' highlight Identifier guifg=#C6CAA1 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#0E101A guibg=#9A87DC guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#292B3A guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/forestbones.vim b/colors/forestbones.vim index fa49b92..4ed7a79 100644 --- a/colors/forestbones.vim +++ b/colors/forestbones.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#C6BAA0 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#2C343A guibg=#DFB2C7 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#444C53 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -365,6 +366,7 @@ else highlight Identifier guifg=#63727A guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#FAF3E1 guibg=#DF69BA guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#E0D19F guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/kanagawabones.vim b/colors/kanagawabones.vim index 0534f81..8a629a7 100644 --- a/colors/kanagawabones.vim +++ b/colors/kanagawabones.vim @@ -120,6 +120,7 @@ if &background ==# 'dark' highlight Identifier guifg=#BBB79E guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#1F1F28 guibg=#AE9FCA guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#383844 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/neobones.vim b/colors/neobones.vim index e158c0c..811a43b 100644 --- a/colors/neobones.vim +++ b/colors/neobones.vim @@ -117,6 +117,7 @@ if &background ==# 'dark' highlight Identifier guifg=#A7B3AE guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#0F191F guibg=#BE8CB3 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#28343C guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -361,6 +362,7 @@ else highlight Identifier guifg=#364A2A guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#E5EDE6 guibg=#BD72AF guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#C4CFC6 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/nordbones.vim b/colors/nordbones.vim index 390f97d..72135ad 100644 --- a/colors/nordbones.vim +++ b/colors/nordbones.vim @@ -121,6 +121,7 @@ if &background ==# 'dark' highlight Identifier guifg=#BFCADB guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#2F3541 guibg=#D1BACD guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#474E5B guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/rosebones.vim b/colors/rosebones.vim index e39b47a..18b8311 100644 --- a/colors/rosebones.vim +++ b/colors/rosebones.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#CAB0AF guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#1A1825 guibg=#B48DE0 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#353345 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -365,6 +366,7 @@ else highlight Identifier guifg=#935855 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#FBF6F0 guibg=#A18EB6 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#E8D1B3 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/seoulbones.vim b/colors/seoulbones.vim index baf7ec0..c92c8e8 100644 --- a/colors/seoulbones.vim +++ b/colors/seoulbones.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#DDDDDD guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#4B4B4B guibg=#DCDCE8 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#636363 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -369,6 +370,7 @@ else highlight Identifier guifg=#555555 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#E2E2E2 guibg=#9E779D guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#C4C4C4 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/tokyobones.vim b/colors/tokyobones.vim index dcbca92..67c552c 100644 --- a/colors/tokyobones.vim +++ b/colors/tokyobones.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#98ABEF guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#1A1B26 guibg=#B38DF6 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#353644 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -365,6 +366,7 @@ else highlight Identifier guifg=#4A537A guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#D6D7DC guibg=#8271A4 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#BABBC2 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/vimbones.vim b/colors/vimbones.vim index e963170..150d517 100644 --- a/colors/vimbones.vim +++ b/colors/vimbones.vim @@ -120,6 +120,7 @@ if &background ==# 'light' highlight Identifier guifg=#505050 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#F0F0CA guibg=#C074B2 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#D0D0B6 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/zenbones.vim b/colors/zenbones.vim index 7da5f5c..620b200 100644 --- a/colors/zenbones.vim +++ b/colors/zenbones.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#979FA4 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#1C1917 guibg=#BF8FB5 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#383432 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -365,6 +366,7 @@ else highlight Identifier guifg=#44525B guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#F0EDEC guibg=#C074B2 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#D4CDCA guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/zenburned.vim b/colors/zenburned.vim index 0ab8cf6..710cb38 100644 --- a/colors/zenburned.vim +++ b/colors/zenburned.vim @@ -120,6 +120,7 @@ if &background ==# 'dark' highlight Identifier guifg=#D5BE95 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#404040 guibg=#DFC8DA guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#575757 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/colors/zenwritten.vim b/colors/zenwritten.vim index 23328b7..4834d2f 100644 --- a/colors/zenwritten.vim +++ b/colors/zenwritten.vim @@ -119,6 +119,7 @@ if &background ==# 'dark' highlight Identifier guifg=#9E9E9E guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#191919 guibg=#BF8FB5 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#353535 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic @@ -365,6 +366,7 @@ else highlight Identifier guifg=#505050 guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight! link TSVariable Identifier highlight IncSearch guifg=#EEEEEE guibg=#C074B2 guisp=NONE gui=bold cterm=bold + highlight! link CurSearch IncSearch highlight IndentBlanklineChar guifg=#CFCFCF guibg=NONE guisp=NONE gui=NONE cterm=NONE highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic highlight! link TSEmphasis Italic diff --git a/lua/zenbones/specs/dark.lua b/lua/zenbones/specs/dark.lua index 3d81c27..4c8671b 100644 --- a/lua/zenbones/specs/dark.lua +++ b/lua/zenbones/specs/dark.lua @@ -88,6 +88,7 @@ local function generate(p, opt) -- Substitute { }, -- |:substitute| replacement text highlighting MatchParen { Search }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| -- QuickFixLine { }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there. + CurSearch { IncSearch }, SpellBad { fg = Error.fg.de(30), gui = "undercurl", guisp = Error.fg }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellCap { SpellBad, guisp = Error.fg.da(10) }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. diff --git a/lua/zenbones/specs/light.lua b/lua/zenbones/specs/light.lua index 33b11ed..ed35287 100644 --- a/lua/zenbones/specs/light.lua +++ b/lua/zenbones/specs/light.lua @@ -88,6 +88,7 @@ local function generate(p, opt) -- Substitute { }, -- |:substitute| replacement text highlighting MatchParen { Search }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| -- QuickFixLine { }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there. + CurSearch { IncSearch }, SpellBad { fg = Error.fg.de(30), gui = "undercurl", sp = Error.fg }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellCap { SpellBad, sp = Error.fg.li(10) }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.