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

syntax highlighting issue with jade-mode and compact syntax

Open chillum opened this issue 10 years ago • 1 comments

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.

chillum avatar May 08 '15 12:05 chillum

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!

tjefferson08 avatar May 08 '15 13:05 tjefferson08