Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vento support #11

Closed
wrapperup opened this issue Mar 10, 2024 · 2 comments · Fixed by #12
Closed

Add Vento support #11

wrapperup opened this issue Mar 10, 2024 · 2 comments · Fixed by #12

Comments

@wrapperup
Copy link

wrapperup commented Mar 10, 2024

Hi, thanks for making this plugin! It's hard to find a good formatter for HTML templates.

Any chance that support for Vento could be added? https://github.com/ventojs/vento

If not, it would be nice to map filetypes to template types (ie, map .vto to Jinja to get some formatting), and add the ability to preserve whitespace around mustaches/tags/blocks.

Thanks!

@g-plane
Copy link
Owner

g-plane commented Mar 10, 2024

You can map file associations in dprint config.

@wrapperup
Copy link
Author

You can map file associations in dprint config.

Right, but it only lets you map it to the plugin. It will format it as an HTML file and not as a jinja-like template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants