Skip to content

zero indentation for close bracket #104

@nickburlett

Description

@nickburlett

The vue/html-indent eslint plugin defaults to zero indentation for closing brackets:

<div
  class="example"
> <!--closing bracket non-indented-->
  <p>Demo.</p>
</div>

html5.vim reindents the above to:

<div
  class="example"
  > <!--closing bracket becomes indented-->
  <p>Demo.</p>
</div>

Is there a configuration option to have html5.vim's indenter keep the closing bracket on the same column as the opening bracket for a tag? The reindenting is flagged by the linter every time :-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions