mblode / vscode-twig-language

VS Code extension with snippets, syntax highlighting, hover, and formatting for Twig.
https://marketplace.visualstudio.com/items?itemName=mblode.twig-language
MIT License
42 stars 7 forks source link

Problem using "-" like in {%- block 'X' -%} #39

Open mazarini opened 5 years ago

mazarini commented 5 years ago

I use {%- and -%} to suppress spaces. '-' can be add right, left or both.

Formating don't take care of it like for standart delimiter.

Example :

        {% block title -%}
        block title
    {%- endblock %}