emmet-vim icon indicating copy to clipboard operation
emmet-vim copied to clipboard

Small bug in autocomplete after variable

Open dgagn opened this issue 1 year ago • 5 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.

dgagn avatar Jul 13 '23 00:07 dgagn

What is your filetype?

mattn avatar Jul 13 '23 03:07 mattn

What is your filetype?

javscriptreact and it also does it with typescriptreact

dgagn avatar Jul 13 '23 14:07 dgagn

Which plugin do you use for javscriptreact/typescriptreact ?

mattn avatar Jul 13 '23 14:07 mattn

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

dgagn avatar Jul 13 '23 15:07 dgagn

It also does it with :

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

dgagn avatar Jul 13 '23 16:07 dgagn