-
-
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
Problems with syntax highlighting for arrow functions in ES6 class declarations #301
Comments
Try https://github.com/borela/naomi it even supports stage-0 features. |
@borela that's pretty sweet! It does have some pretty annoying issues though. I find borela/naomi#72 to be particularly annoying and even with the manual patch described in those comments it still balks on nested objects in some cases. |
@jbccollins I actually prefer keys being highlighted as unquoted strings too, I am thinking about reverting back to unquoted strings and see how many users will complain about it before I implement a configurable system. |
@jbccollins Try version >= 3.7.0 |
This should be fixed in v10.0.0-beta.1. See #379 for more information on the new release. Please report any problems with v10 in a new issue. |
The first arrow function in ES6 class declarations does not highlight correctly.
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered: