prettier-vscode icon indicating copy to clipboard operation
prettier-vscode copied to clipboard

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

Open sappusaketh opened this issue 1 year ago • 0 comments
trafficstars

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.

sappusaketh avatar Jun 05 '24 21:06 sappusaketh