pug-tmbundle
pug-tmbundle copied to clipboard
Syntax highlighting breaks when using require in attribute values
When I use require in the attribute value, syntax highlighting breaks. How can this be fixed?
img(src=require("./src/images/icon-arrow.svg"))
Edit: never mind, I just checked the docs and plain javascript is supported as value for attributes...
It works fine for me on Code:
What editor are you using?