I have this version "@zackad/prettier-plugin-twig": "^0.16.3" and this config in .prettierrc.json:
{
"plugins": ["@zackad/prettier-plugin-twig"],
"twigAlwaysBreakObjects": false,
"useTabs": true,
"tabWidth": 4
}
It still changes this:
{% block title %}Demo{% endblock %}
to this:
{% block title %}
Demo
{% endblock %}
I have this version
"@zackad/prettier-plugin-twig": "^0.16.3"and this config in.prettierrc.json:{ "plugins": ["@zackad/prettier-plugin-twig"], "twigAlwaysBreakObjects": false, "useTabs": true, "tabWidth": 4 }It still changes this:
{% block title %}Demo{% endblock %}to this: