brianc/jade-mode

syntax highlighting issue with jade-mode and compact syntax

chillum opened this issue · 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.

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!