Open nickperkinslondon opened 10 years ago
I attempted to duplicate this issue in TextMate 2 but I am unable to. Are you using TextMate2 or SublimeText2?
sublime text
On Fri, Apr 25, 2014 at 7:34 PM, Trever Shick notifications@github.comwrote:
I attempted to duplicate this issue in TextMate 2 but I am unable to. Are you using TextMate2 or SublimeText2?
[image: layout_jadelocalgit_s65089]https://cloud.githubusercontent.com/assets/509549/2806737/ff119d5a-ccd1-11e3-814f-1116064ee4c5.png
— Reply to this email directly or view it on GitHubhttps://github.com/miksago/jade-tmbundle/issues/32#issuecomment-41449153 .
Nick Perkins
I am programming AngularJS with Jade, and I often have many attributes on a single element.
If I put each attribute on it's own line, and line-up the equal-signs ( by adding extra spaces between the attribute and the equals-sign...the syntax highlighting gets all messed up.
The problem does not depend on using multiple lines, however, it is only necessary to put 2 spaces just before the equals-sign ( or after it ), and the syntax highlighting goes wrong.
Note that the compiler does not mind these extra spaces -- it still works fine. The highlighter should work the same as the compiler.