Closed vgel closed 8 years ago
This should be resolved by the regex here: https://github.com/aponxi/sublime-better-coffeescript/issues/200#issuecomment-67495654 I'll try to open up a PR tonight unless someone else can hit it first :+1:
I pulled in those regexes to my fork and it partially, but not entirely fixes the problem:
I'm not sure why, because the regex seems to match. Maybe the new
regex is taking precedence?
I'll take a look at this more later tonight.
Yeah, that was it. Adding a similar fix to new
to not match class
makes everything work:
Will submit the pull in a bit.
Used http://issue2pr.herokuapp.com to turn this issue into a pull request with the fixes, in case of confusion.
Very nice, @Rotten194, and +1 for introducing me to issue2pr
As seen here:
All those class declarations are valid coffeescript, but only the last is highlighted.
Code shown above for reference: