In Vim 9 script, &t_Co cannot be directly compared with a number because it has type string. You must do, e.g., str2nr(&t_Co) > 256. The parentheses prevent check_colors.vim to detect the comparison. This PR fixes that.
This PR also adds a couple of missing highlight groups.
In Vim 9 script,
&t_Co
cannot be directly compared with a number because it has typestring
. You must do, e.g.,str2nr(&t_Co) > 256
. The parentheses preventcheck_colors.vim
to detect the comparison. This PR fixes that.This PR also adds a couple of missing highlight groups.