format python jinjia error
sdliang1013 opened this issue · 1 comments
sdliang1013 commented
when i write a jinjia template for saltstack, it shouldn't format by file extension.
i have a jinjia script named zoo.cfg
{%- if zookeepers_with_ids | length() >1 %}
.................
{%- endif %}
it will be formatted, like this:
{%- if zookeepers_with_ids | length() %} >1
.................
{%- endif %}.
i should disable "properties" in setting "shellformat.effectLanguages" of settings.json
foxundermoon commented
"shellformat.effectLanguages": [
"shellscript",
"dockerfile",
"dotenv",
"hosts",
"jvmoptions",
"ignore",
"gitignore",
"azcli",
"bats"
]