Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more than one space between attribute and value causes incorrect highlighting #32

Open
nickperkinslondon opened this issue Jan 2, 2014 · 2 comments

Comments

@nickperkinslondon
Copy link

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.

@trevershick
Copy link

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_

@nickperkinslondon
Copy link
Author

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_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//issues/32#issuecomment-41449153
.

Nick Perkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants