-
Notifications
You must be signed in to change notification settings - Fork 78
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 issue with Atom 1.6 #148
Comments
The issue appears in |
This commit, besides the README change, is the only change between |
I can add that the auto closing is not working anymore since Atom 1.6 |
The match proposed in orktes@c267e8e somehow prevents the lines inside a pair of following parentheses from being parsed as JSX; the parser falls back to plain JS where angle brackets are highlighted as operators. This causes orktes#148 The match in this fix embraces the whole expression and instructs to parse its contents with nested patterns which include JSX.
A duct tape fix here: #149 |
Fix tests to pass on types of numeric constants.
Hi! This should be fixed in v0.14.2. |
Closing for now! Feel free to reopen if issues persist. |
@orktes thank you for the more generic fix, which is here in case someone is interested (referencing an issue from a commit really helps). I can't verify the fix because of a funny bug: I've accidentally installed the |
True! normally I try to remember do that but only noticed the existence of this issue after pushing. Nowadays it seems to be possible to rename packages in a way that request to the old package get redirected to the new one (upgrades etc.). So not a bad idea! I'll look into it. |
@orktes the wrong |
@sompylasar @orktes Highlighting doesn't work for
Highlighting is broken for
It works for
|
@ilyapalkin Atom sometimes saves the grammar you previously set for that file (i.e. what the broken |
@silvenon in version When I install |
I have no idea why this would happen, have you tried reinstalling the package? |
@silvenon I have the same issue with Tested on Atom 1.6.0, OS X 10.11.3 |
This is probably the same issue I encountered here. Try removing |
@sompylasar you're right, thanks, cleaning |
+1 |
Tags is not highlighted when JSX inside parentheses:

But highlights if without parentheses:

The text was updated successfully, but these errors were encountered: