2
I need to create a custom vim region with determines classes and structs. The code, for example,
syn region myCxxClass start="\(class\|struct\)\_[ \t]\+" end="}[^;]*;" transparent
The patterns for start and end probably will be changed, but the problem is that this kind of region does not work, because class
and struct
are keywords.
How to work around this issue?