-
Notifications
You must be signed in to change notification settings - Fork 122
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
Good indentation ? #29
Comments
I'm not sure exactly what you're asking here. Can you give me an example of the observed and expected behavior? |
Hi, {% if condition %} {% for key, val in array %} {{ val }} {% endfor %} {% else %} {{ my_other_value }} {% endif %} |
I have the same problem: Using your bundle, I get that:
Instead of that:
|
I have started writing a tmPreference file to handle a proper indentation for twig. Here it is
|
I've added an indentation preferences file. Feel free to reopen this issue if experience any issues with it. |
I do not know how to change syntax. Can you ensure that the indentation is respected automatically ?
Example :
The text was updated successfully, but these errors were encountered: