othree / html5.vim

HTML5 omnicomplete and syntax
http://www.vim.org/scripts/script.php?script_id=3236
934 stars 76 forks source link

<header>, <section> not indented #32

Closed ghost closed 11 years ago

ghost commented 11 years ago

I can type this into a new x.html file. Note that

and
and their closing tags do not affect the indent level.

<!DOCTYPE html>
<html>
  <body>
    <header>
    <section>
    <div>
      <br>
    </div>
    </section>
    </header>
  </body>
</html>
othree commented 11 years ago

I don't have this issue. By gg=G to indent the code. Everything is correct. And direct input by hand also indent on both section and header element.

ghost commented 11 years ago

Forgive me: my mistake. Your syntax highlighter was selected but my older indenter was taking precedence over your bundle. Thanks for your work on this plugin!