facebookarchive/sublime-react

The word "get" messes up syntax highlighting.

Closed this issue · 2 comments

Try the following in Sublime:

var Test = React.createClass({

  render: function() {
    return (
      <div>
        <h1>
          I want to get out of here.
        </h1>
      </div>
    );
  }

});

Notice it messes up the syntax highlighting of </h1> and </div>. Try taking out the word "get" and it works okay again.

Wow nice find, would you mind submitting an upstream issue at https://github.com/yungsters/sublime/issues/ ? Thanks!

This package no longer provides syntax highlighting. Please install the "Babel" package for syntax highlighting instead.