jade-tmbundle icon indicating copy to clipboard operation
jade-tmbundle copied to clipboard

more than one space between attribute and value causes incorrect highlighting

Open nickperkinslondon opened this issue 12 years ago • 2 comments

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.

nickperkinslondon avatar Jan 02 '14 17:01 nickperkinslondon

I attempted to duplicate this issue in TextMate 2 but I am unable to. Are you using TextMate2 or SublimeText2?

layout_jade__local__git__s65089_

trevershick avatar Apr 25 '14 23:04 trevershick

sublime text

On Fri, Apr 25, 2014 at 7:34 PM, Trever Shick [email protected]:

I attempted to duplicate this issue in TextMate 2 but I am unable to. Are you using TextMate2 or SublimeText2?

[image: layout_jade__local__git__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

nickperkinslondon avatar May 08 '14 20:05 nickperkinslondon