You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- var tag='a'// Broken
#{tag}(@click="doSomething",
:href="url",
)// Broken
#{tag}(click="doSomething",
href="url",
)// These work fine
a(@click="doSomething",
:href="url",
)
a(click="doSomething",
href="url",
)
The text was updated successfully, but these errors were encountered:
It looks like this prevents the tag_name pattern from ending correctly, because if I log the cursor scope at ( (with the cursor in front of it), it still says "source.script.jade entity.name.tag.pug", whereas without the interpolation, it says "constant.name.attribute.tag.pug".
Renaming it to "source.script.jade entity.name.tag.pug.interpolated" fixes the highlighting for the attributes (the tag name ends correctly at } now), but the highlighting of the interpolation doesn't work correctly (it doesn't seem to work that well anywhere else either).
The text was updated successfully, but these errors were encountered: