-
Notifications
You must be signed in to change notification settings - Fork 16
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
Parameterized type does not work with arrow functions #24
Comments
This seems to be the case even with this plugin disabled. Can you please confirm? |
@joshpeng sorry for the delay. The default VSCode syntax highlighter also doesn't handle this correctly, if that's what you mean. Other highlighters like vim (and, it seems, github's) don't seem to break, though. Specifically, I'm told this syntax works with the following vim plugins:
|
@rattrayalex-stripe This seems to happen both with or without Sublime Babel enabled. The issue is |
Yeah, it's also an issue "upstream" with https://github.com/babel/babel-sublime and judging from the current status of that repo (babel/babel-sublime#328 and babel/babel-sublime#293) it's not likely to be addressed soon. It may be possible to go digging in regex's and do something clever (eg; handle a |
@joshpeng Have you looked at https://github.com/borela/naomi? |
This code results in broken syntax highlighting for all following code in the file:
I have found that this workaround fixes it:
But would rather not have to litter my codebase with otherwise-needless comments 😄
The text was updated successfully, but these errors were encountered: