Closed dpeek closed 9 years ago
There are actually two regexp already :
support.class.haxe
selectorentity.name.type.class.haxe.2
and eventually package names to entity.name.type.package.haxe.2
. It's very similar to what you suggest ?So I believe it's fine to keep both. Now I'd accept any pull request that would possibly improve these regexps for better capturing, or give proper naming to selectors to improve highlighting (we try to stick to TM's "standard" as much as possible).
Not sure about the current syntax highlighting for some types, but not other. Looks like there is a hand picked selection:
Perhaps a regex matching things that look like types would be better? Something like this?
Tested here with the following very basic data set: