Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_colors: tweak check for t_Co and add missing highlight groups. #245

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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