I'm experiencing incorrect indentation when a custom element does not contain a hyphen. It is nesting the child content even with the tag.
<div>
| <!-- correct indent -->
</div>
<w-hatever>
| <!-- correct indent -->
</w-hatever>
<Cust-om>
| <!-- correct indent -->
</Cust-om>
<whatever>
| <!-- incorrect indent -->
</whatever>
<Custom>
| <!-- incorrect indent -->
</Custom>
I know that technically single word element names are not to spec, but they are very common now in frameworks such as Vue, and it would be nice if the html5.vim plugin just nested any element correctly regardless of name. Vue in particular specifies pascal cased names rather than kebab-cased in its default linting rules.
I'm experiencing incorrect indentation when a custom element does not contain a hyphen. It is nesting the child content even with the tag.
I know that technically single word element names are not to spec, but they are very common now in frameworks such as Vue, and it would be nice if the html5.vim plugin just nested any element correctly regardless of name. Vue in particular specifies pascal cased names rather than kebab-cased in its default linting rules.