Skip to content

Commit

Permalink
check_colors: tweak check for t_Co and add missing highlight groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
lifepillar committed Sep 3, 2024
1 parent b710b94 commit 634e85c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions colors/tools/check_colors.vim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def Test_check_colors()
'Comment',
'Conceal',
'Constant',
'CurSearch',
'CurSearch',
'Cursor',
'CursorColumn',
'CursorLine',
Expand Down Expand Up @@ -66,6 +66,8 @@ def Test_check_colors()
'PmenuSbar',
'PmenuSel',
'PmenuThumb',
'PopupNotification',
'PopupSelected',
'PreProc',
'Question',
'QuickFixLine',
Expand Down Expand Up @@ -156,7 +158,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
Expand Down

0 comments on commit 634e85c

Please sign in to comment.