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

Indentation bug for sections starting with ^ #14

Open
nikolas opened this issue Sep 25, 2015 · 0 comments
Open

Indentation bug for sections starting with ^ #14

nikolas opened this issue Sep 25, 2015 · 0 comments

Comments

@nikolas
Copy link

nikolas commented Sep 25, 2015

mustache-mode correctly indents the closing tag for a section like this:

{{#owners}}
    <li>
        <a class="switcher-choice owner"
            href="{{username}}">{{public_name}}</a>
    </li>
{{/owners}}

However, if the section starts with a caret, this is how mustache-mode indents the region:

{{^owners}}
    <li>
        <a class="switcher-choice owner"
            href="{{username}}">{{public_name}}</a>
    </li>
    {{/owners}}

The closing tag should be on the same column as the opening tag.

I'm using mustache-mode from melpa, v20141024.732, emacs 24.5.50.4.

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

1 participant