Small patch for check_colors.vim

11 views
Skip to first unread message

Lifepillar

unread,
Jul 12, 2019, 2:48:33 PM7/12/19
to 'Tom Ryder' via vim_dev
Please find attached a small patch for $VIMRUNTIME/colors/tools/check_colors.vim.

Changes:

- Actually ignore @suppress’ed groups (don’t print anything).
- Match highlight group names as whole words.

The former change prevents clobbering the output with messages that are not errors.

The latter change avoids mistakenly matching, say, StatusLineNC when searching for StatusLine.

Life.

check_colors.patch

Bram Moolenaar

unread,
Jul 12, 2019, 4:47:11 PM7/12/19
to vim...@googlegroups.com
Thanks. I see a few more things that can be improved.

--
Be nice to your kids... they'll be the ones choosing your nursing home.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages