Skip to content
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

Atomic statements and comments don't work with autoindentation #44

Open
Misiur opened this issue Dec 15, 2014 · 1 comment
Open

Atomic statements and comments don't work with autoindentation #44

Misiur opened this issue Dec 15, 2014 · 1 comment

Comments

@Misiur
Copy link

Misiur commented Dec 15, 2014

I'm not sure if it's an issue with syntax doc or sublime itself. When you use statement like

{% if foo is bar  %}
    Hello!
{% endif %}

Intendation makes sense. But, when using statements which don't have closing tag, like

{% do 'that' %}
{# or #}
{% form_theme form '::anything.html.twig' %}

Next lines are waiting for closing tag which doesn't exist, and are unnecessarily indented. Similar story with comments

@uhnomoli
Copy link
Owner

uhnomoli commented Mar 3, 2015

Sorry for the delay in response. I can't reproduce this on my end, do you have the indentation preference file in the same directory as the syntax file? If so, can you provide a specific example in which you can reproduce this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants