gandm / language-babel

ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM
https://atom.io/packages/language-babel
MIT License
476 stars 83 forks source link

Styled-components syntax highlighting is broken #413

Closed krabbypattified closed 7 years ago

krabbypattified commented 7 years ago

Why Does my syntax highlighting look like this? I just updated language-babel to version 2.74.2 and I'm in Babel ES6 JavaScript mode. My JSX renders fine. screen shot 2017-09-17 at 7 57 23 pm

gandm commented 7 years ago

I can't explain this as it works for me. I would suggest uninstalling language-babel and then stopping atom and removing the ~/.atom/compile-cache, re-install using apm install language-babel and then restarting atom.

ghengeveld commented 7 years ago

Re-installing language-babel fixed it for me. Also make sure you have no conflicting plugins (e.g. language-javascript-jsx).

gandm commented 7 years ago

Pretty sure this is an Atom system/package update problem. I'll close this. Please post back here if you cannot solve this issue.

krabbypattified commented 7 years ago

Confirming that this solved my issue. Thanks @gandm ! screen shot 2017-09-30 at 11 20 36 am