-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Running web-beautify-js when using react-layer causes snytax highlighting to be removed #5724
Comments
I've seen the same in other modes that use |
Can somebody try to reproduce on a stock emacs to see if it is a Spacemacs bug or an upstream issue? |
I just tried again. It works in |
I can confirm that the behaviour is correct when I beautify a React component with |
Any updates with this issue? 😸 |
confirmed issue |
I have got the same issue, if you have pure js then everything is fine, but if you have jsx(including tags) then after web-beautify-js, syntax highlighting is gone |
I can confirm that I have the same issue for files with .jsx extension. I also tried with pure .js files in the same project and it doesn't happen. |
Same issue, jsx formatting causes syntax highlight loss. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
When editing a JSX file in spacemacs, when I beautify the file (spc-m-=), the syntax highlighting for the file is removed.
Reproduction guide
Observed behaviour:
Syntax highlighting is no longer shown
Expected behaviour:
Syntax highlighting should be shown
System Info
Backtrace
No backtrace.
The text was updated successfully, but these errors were encountered: