mattn / emmet-vim

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

Issue with updating tags in typescriptreact #544

Open PetitBandit opened 1 year ago

PetitBandit commented 1 year ago

Hello, here's my issue, in a typescriptreact file: when using <c-y>,to expand div.ok it will correctly expand to <div className='ok'></div> once created if i do <c-y>u and respond to the promptspan.koit will expand to <span class='ko'></span>

Expected result: Updating a tag has de the same behavior as expanding a tag (updating a tag expands in className, not class)

Config for the emmet plugin:

autocmd FileType html,css,jsx,tsx,typescriptreact EmmetInstall
let g:user_emmet_mode = 'inv'

I ve tried to look up similair issues on this repo but couldnt find a solution for this problem. Please help as this is a plugin that i enjoy and use a lot.