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

Is there a way to ignore spacing between first bracket only in {{ something }}? #3422

Open
sappusaketh opened this issue Jun 5, 2024 · 0 comments

Comments

@sappusaketh
Copy link

Is your feature request related to a problem? Please describe.
its getting hard to format jinja templates where template values are int and need to use variables like

key: {{ value }}

if I have "yaml.prettier.bracketSpacing":true its formatting my template as

key: { { something } }

when I do "yaml.prettier.bracketSpacing":false its formatting my template as

key: {{something}}

but i need

key: {{ value }}

Describe the solution you'd like
It would be nice if there is a way to just ignore spacing only inside top-level bracket

Describe alternatives you've considered
turned of formatter

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant