devongovett / atom-jade

Jade TextMate bundle converted for Atom
51 stars 26 forks source link

Fixed highlighting of Angular2-style event and property bindings #66

Closed jseppy closed 8 years ago

jseppy commented 8 years ago

The Angular2 style of using ()'s around attribute names to indicate event bindings breaks the current highlighter. This bugfix allows ()'s around attribute names even if they don't have a value, which is unlikely, but legal. The property binding style using []'s still works, as does the combined [()]'s binding syntax. Test cases included.

LinusU commented 8 years ago

Looking good :+1:

If anyone from the community could confirm that this works, I would be very happy :)

LinusU commented 8 years ago

published as 0.7.1, thanks!