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

Syntax highlighting breaks at :class #17

Closed smalllong closed 1 year ago

smalllong commented 6 years ago

span(class='iconfont' :class='["icon-electricity"+batteryIcons[deviceInfo.battery]]' v-if='!charging') :class after class attribute when using Vue is valid, but the syntax highlighting breaks after :class.

tijn commented 6 years ago

I think I have the same issue; I found out that the syntax highlighting works fine but only if I use (at least) two spaces between the attributes. This should be easy to solve in the highlighter code, right?

msftrncs commented 5 years ago

@smalllong, @tijn what editor is the highlighting broken?

tijn commented 5 years ago

@msftrncs in Sublime Text. I'm using Dev Channel, Build 3208 but the issue was already present in earlier versions.

davidrios commented 1 year ago

fixed in #32