vim / colorschemes

colorschemes for Vim
274 stars 23 forks source link

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

Open lifepillar opened 1 year ago

lifepillar commented 1 year ago

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.