defunkt / coffee-mode

Emacs Major Mode for CoffeeScript
http://ozmm.org/posts/coffee_mode.html
574 stars 147 forks source link

Syntax highlighting broken for member variables containing underscores #304

Closed kencoken closed 9 years ago

kencoken commented 9 years ago

Syntax highlighting of class member variables (using the @ operator) appears to break at the underscore character. See the below screenshot:

screen shot 2015-03-18 at 13 56 56

In this case, for example, the @proto_classes member variable should be highlighted entirely in blue, but the highlighting ends at the underscore such that only @proto is highlighted. There are also many other examples of the same in this screenshot.

syohex commented 9 years ago

@kencoken Thanks for reporting. I have fixed at this issue at #305. Please check latest version. Here is screenshot with latest version.

coffee-mode

kencoken commented 9 years ago

Thanks for the quick response and fix! Just checked the latest version, and seems to be working here too perfectly now! Thanks again for your work on maintaining this very-handy major mode :+1: