mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.39k stars 411 forks source link

input tag expansion doesn't include closing tag #526

Open ns740 opened 2 years ago

ns740 commented 2 years ago

editing a new .html file, when i expand

a[foo.com]{stuff inside the link}

I get

<a href="foo.com">stuff inside the link</a>

as expected, but when i expand

input[text]{stuff inside the textbox}

i get

<input type="text">

(no closing tag, no "stuff inside the textbox" and we are left in insert mode on the next line) but what i expect is

<input type="text">stuff inside the textbox</input>

is this a bug or do i misunderstand how input should expand?

can reproduce the behaviour with the MacOS version of vim installed in MacOS VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 1 2021 22:47:36) vimversion.txt using this minimal .vimrc file: vimrcmin.txt

(apologies - gh won't let me upload without the .txt extensions)