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

syntax highlighting issue with jade-mode and compact syntax #53

Open
chillum opened this issue May 8, 2015 · 1 comment
Open

syntax highlighting issue with jade-mode and compact syntax #53

chillum opened this issue May 8, 2015 · 1 comment

Comments

@chillum
Copy link
Contributor

chillum commented May 8, 2015

Hi,

This is not rendered correctly:

span: a(href='about:blank') aa

But this is fine:

span
  a(href='about:blank') aa

And yes, these constructions generate same Jade output.

@tjefferson08
Copy link
Collaborator

Great find! I had to dig through the docs to make sure this was an officially supported construct. I found it here under 'Block Expansion'.

Highlighting this construct will push our simple search-based highlighting even further, but I don't doubt that it can be accomplished. Thanks!

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