davidrios / jade-tmbundle

A comprehensive textmate / sublime text bundle for the Jade template language.
https://github.com/davidrios/jade-tmbundle
MIT License
102 stars 31 forks source link

Class keyword for element attribute in code breaks syntax highlighting for elements below #76

Closed phillipwei closed 8 years ago

phillipwei commented 8 years ago

After the latest update (I think), syntax highlighting now breaks if you have the word "class" embedded within a code section. For example, the following breaks all syntax after it. I believes it now thinks it's still javascript and not jade. I don't think this was happening to my files before.

-for(var i=0; i<10; i++) {
  .grid-row(class="something")
-}