billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

Syntax Highlighting does not support Attribute Selectors #29

Closed Lixquid closed 10 years ago

Lixquid commented 10 years ago

Correct Syntax Highlighting Example

Incorrect Syntax Highlighting Example

As you can see, because the Syntax Highlighter does not treat the block with the selector as a true block, all "advanced" stylus logic inside is not treated as such.

grassator commented 10 years ago

Thanks for reporting. It should be fixed now, but may take some time to propagate to Package Control.