You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know whether this works in Sublime Text, but when using this grammar to highlight files on GitHub.com (cf. github-linguist/linguist#4223), it causes HTML highlighting to break inside JSX files, as shown in this Ligthshow example.
The text was updated successfully, but these errors were encountered:
Can you provide more context on how you are using babel-sublime outside Sublime? I am currently working on a complete replacement of the syntax definition with a new .sublime-syntax, and this will probably not be compatible with tools other than Sublime.
Unfortunately, I don't think it will be practical to maintain the old tmLanguage definition going forward. It's very badly out of date, and .sublime-syntax is capable of providing much better highlighting. If Linguist is using a fork, then it probably makes the most sense to maintain that fork to serve Linguist's needs without worrying about divergence from babel-sublime.
Some of the patterns in the grammar file have several scope names:
babel-sublime/JavaScript (Babel).YAML-tmLanguage
Lines 1270 to 1275 in a9a908f
I don't know whether this works in Sublime Text, but when using this grammar to highlight files on GitHub.com (cf. github-linguist/linguist#4223), it causes HTML highlighting to break inside JSX files, as shown in this Ligthshow example.
The text was updated successfully, but these errors were encountered: