-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting on multiline comments #403
Comments
Sorry I missed this a couple days ago. I can confirm this is broken. Neither the core syntax nor JS Custom with default settings has this problem, so it must be a bug in one of the JS Custom extensions that babel-sublime is using. I wasn't planning to mess with v10 any more, but this has to be fixed. Hopefully it shouldn't take an hour. |
Minimal example: {
''/**/
''
/**/
} The second fails. It some kind of issue with the automatic semicolon insertion code for expression statements, but that should be identical to core, which doesn't have this problem. I almost wonder if it's some kind of bizarre parser corner case. |
v10.0.5 is out with a fix. It turns out this was already fixed in core for ST4, so this won't be an issue in v11. |
awesome, thank you I can confirm its fixed |
There's seems to be some issues with multiline comments
shows as
adding the semicolon to the end of use strict fix it
this file is also giving problems
also adding the semicolon to just before the comment fixes it, have the file to test it
dom-to-image.txt
The text was updated successfully, but these errors were encountered: