Please help with Grammar bug for JSX? (atom-react)


#1

Hey there,

Atom-react is not highlighting comments properly.
It looks like a simple problem but I’ve got no idea how to debug it.

If any Grammar gurus can spot the problem it would be much appreciated!


#2

To reproduce

  1. Install orktes/atom-react
  2. Copy and paste the code from the issue above

Strangely I notice there’s also a bug for me to select
"JavaScript (JSX)"
If I make a new file then change the highlighting to “JavaScript (JSX)” it doesn’t change immediately.
So I normally select “CoffeeScript (JSX)” which does change immediately, then “JavaScript (JSX)” then close the file, and reopen it. Then it says “JavaScript (JSX)”.