Eric Arnold wrote:
Just a suggestion: the C syntax knows enough to color#if 0 ... #endif as a comment. You can look at how it does that. It's easy to do if you don't have anything nested inside the if block. I.e. something like syntax match comment /if\s*(\s*0\s*)\s*{[^}]\_*}/ Otherwise, it gets more complicated, and I haven't figured that out yet.
I will look into that. :Robert