davidrios / pug-tmbundle

A comprehensive textmate / sublime text bundle for the Pug (formerly Jade) template language.
https://github.com/davidrios/pug-tmbundle
MIT License
48 stars 20 forks source link

Angular 2 syntax breaks highlighting #5

Closed SomeKittens closed 1 year ago

SomeKittens commented 8 years ago

Happy user of your syntax bundle since we called this "Jade". However, Angular 2 has to muck up the works:

screen shot 2016-10-11 at 10 23 09 am

Note specifically the breakage after [(ngModel)]. I assume it's detecting the close paren and thinks that's the end of the input properties.

I'd be happy to dig through and open a PR if you can point me in the right direction.

neilfarted commented 6 years ago

syntax is still broken in 2018. My issue is block expansion + angular attributes.

screen shot 2018-11-06 at 11 20 04 am

not all block expansion and angular attributes breaks:

screen shot 2018-11-06 at 11 20 29 am
davidrios commented 1 year ago

Please comment if you think this is still relevant.