othree / html5.vim

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

Wrong indent after custom self-closing tag #105

Open last-partizan opened 4 years ago

last-partizan commented 4 years ago

When using custom self-closing tag, indent is added as if it was not closed.

<modal-form />
    | <!-- cursor is here, must be at the start of the line -->
andbar-ru commented 3 years ago

+1. This problem is occurred in html templates of various frameworks, particularly Vue.js.