Open see311 opened 6 years ago
add in your USER SETTINGS
"files.associations": {
"*.njk": "html"
},
If I do this, the HTML is formatted, but not the nunjucks brackets and their contents. Like having {{ myvar }} instead of {{myvar}} for example or whatever you prefer. Is there any way to do that? I assume this extension would have to provide it, right?
Don't know if this'll work, but you can try doing what this commit did: https://github.com/ronnidc/vscode-nunjucks/commit/cb1494303da06d8b4576c3bdac1f1dffd9d13e64
I believe that formatting is broken.
I have installed Nunjucks extension, but there is no formatter for 'nunjucks'-files installed. how to add the formatter for 'nunjucks'-files?