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

Allow syntax coloring for operators and delimiters #24

Open
hjxkyw opened this issue Feb 13, 2022 · 1 comment
Open

Allow syntax coloring for operators and delimiters #24

hjxkyw opened this issue Feb 13, 2022 · 1 comment

Comments

@hjxkyw
Copy link

hjxkyw commented Feb 13, 2022

I use these commands at the end of my c and c++ syntax files, for coloring delimiters and operators, and it works fine.
In cmake syntax file these commands don't work.

syn match cntrl "[&{}()+:;,.*=<>!%@[]\-]"
hi cntrl guifg=red

I think that even it worked only for "(" and ")" it would besomething good.

@pboettch
Copy link
Owner

I see your point, please provide a PR if possible. This feature should be optional.

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

No branches or pull requests

2 participants