pboettch / vim-cmake-syntax

Vim syntax highlighting rules for modern CMake.
Other
96 stars 32 forks source link

Allow syntax coloring for operators and delimiters #24

Open hjxkyw opened 2 years ago

hjxkyw commented 2 years ago

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 commented 1 year ago

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