nvim-ts-autotag
nvim-ts-autotag copied to clipboard
Rename tag even after adding an attribute
Closing pairs are not renamed when changing tag and immediately adding an attribute after it
<div></div>
↑
When typing ciwmain class="test"<Esc>, it becomes:
<main class="test"></div>
It would be expected to be:
<main class="test"></main>
The current behavior is unintuitive and can potentially cause frustration with unnoticed unmatching tags.