samuelcolvin / jinjahtml-vscode

Syntax highlighting for jinja(2) html templates in vscode
https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml
MIT License
135 stars 55 forks source link

Jinja file association with custom generic extension #133

Open g-nardiello opened 1 year ago

g-nardiello commented 1 year ago

Good morning. I'm using the Better Jinja extension on vscode, but I want to add jinja files associations using a custom generic ".jinjacustom" over and above ".j2" or "*.jinja", that will be associated to each language.

Example: I would the ".yml.jinjacustom" files automatically be associated to "Jinja YAML", or ".html.jinjacustom" be associated to "Jinja HTML", only configuring "*.jinjacustom" as a custom jinja extension.

I know I could associate "yml.jinjacustom" to the relative language and ".html.jinjacustom" to the other, but could the custom extension be configured globally into plugin?

Thank you