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

Conversation

lifepillar
Copy link
Contributor

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.

@lifepillar
Copy link
Contributor Author

I've synced this PR with the current master of this repo. Any chance to have it merged?

@habamax habamax merged commit 17f8271 into vim:master Sep 4, 2024
@habamax
Copy link
Collaborator

habamax commented Sep 4, 2024

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants