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

zero indentation for close bracket #104

Open
nickburlett opened this issue Aug 22, 2020 · 0 comments
Open

zero indentation for close bracket #104

nickburlett opened this issue Aug 22, 2020 · 0 comments

Comments

@nickburlett
Copy link

nickburlett commented Aug 22, 2020

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 :-(

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