Sublime Forum

Custom tmLanguage syntax highlighter broken when upgrading from 3103 to 3114

#1

I have a custom syntax highlighter for a C derivative called nesC, implemented as a .tmLanguage (https://github.com/cdwilson/nesC.tmbundle/blob/master/Syntaxes/nesC.tmLanguage).

This works fine in 3103, but after upgrading to 3114 it fails to highlight the additional keywords correctly. C syntax highlighting works correctly.

As there were a number of rewrite for the C syntax highlighter, what changes do I need to make to the .tmLanguage to fix the highlighting?

0 Likes

#2

They have some docs up on the new yaml based syntax definitions.

https://www.sublimetext.com/docs/3/syntax.html

And info on scope naming

https://www.sublimetext.com/docs/3/scope_naming.html

0 Likes