I’m currently working on a syntax definition for syntax definitions and I’m almost done, but for some reason I can’t get including the actual regex matching to work. Maybe someone else can see something that I don’t.
The syntax definition: https://2.lithi.io/Pilfg.sublime-syntax (the regex include is commented since it doesn’t matter here)
You can highlight the file itself with it.
Output on console when saving the file:
rule #anon_expect_regex_2 has a scope name, but is unreachable, so the name will never be used
Commenting 373-378 makes this console output go away.
When commenting 370-371, highlighting changes but the message persists.
However, with 370-371 commented, uncommenting lines 376-377 makes highlighting change as well while the message is still being displayed.