mattn / emmet-vim

emmet for vim: http://emmet.io/

Home Page:http://mattn.github.io/emmet-vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Small bug in autocomplete after variable

dgagn opened this issue · comments

Okay, so it's a weird bug and nothing trivial, but would be nice if it was fixed.

  const helloWorld = div|

It will expand to :

  const helloWorld <div>|</div>

It removes the equal signs, which is not expected.

commented

What is your filetype?

What is your filetype?

javscriptreact and it also does it with typescriptreact

commented

Which plugin do you use for javscriptreact/typescriptreact ?

Which plugin do you use for javscriptreact/typescriptreact ?

I reproduced the bug with only the emmet-vim plugin
Screenshot 2023-07-13 at 11 37 06 AM

Screenshot 2023-07-13 at 11 37 18 AM

It also does it with :

  const hello = () => div.container|
  const hello <div className="container"></div>