runtime(colors): Update colorschemes

- all colorschemes were ported to colortemplate v3
- gui versions of habamax, lunaperche, wildcharm, retrobox colorschemes
  have different Diff, Visual, Search and IncSearch colors compared to non-gui.
- habamax Search was changed to green instead of blue to better distinct
  it with Visual (also bluish in gui)

closes: #18061

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Maxim Kim
2025-08-20 22:28:29 +02:00
committed by Christian Brabandt
parent 836ed5271e
commit f3055eac84
26 changed files with 5768 additions and 10827 deletions

View File

@ -34,7 +34,7 @@ def Test_check_colors()
'Comment',
'Conceal',
'Constant',
'CurSearch',
'CurSearch',
'Cursor',
'CursorColumn',
'CursorLine',
@ -66,6 +66,7 @@ def Test_check_colors()
'PmenuSbar',
'PmenuSel',
'PmenuThumb',
'PopupNotification',
'PreProc',
'Question',
'QuickFixLine',
@ -156,7 +157,7 @@ def Test_check_colors()
cursor(1, 1)
# 4) Check, that t_Co is checked
var pat = '[&]t_Co\s*[<>=]=\?\s*\d\+'
var pat = '[&]t_Co)\?\s*\%(\%([<>=]=\?\)\|??\)\s*\d\+'
if search(pat, 'ncW') == 0
err['t_Co'] = 'Does not check terminal for capable colors'
endif
@ -175,7 +176,7 @@ def Test_check_colors()
# 7) Normal should be defined first, not use reverse, fg or bg
cursor(1, 1)
pat = 'hi\%[light] \+\%(link\|clear\)\@!\w\+\>'
pat = 'hi\%[ghlight] \+\%(link\|clear\)\@!\w\+\>'
search(pat, 'cW') # Look for the first hi def, skipping `hi link` and `hi clear`
if getline('.') !~# '\m\<Normal\>'
err['highlight']['Normal'] = 'Should be defined first'