mattn / emmet-vim

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

.tsx file support #527

Open faruzzy opened 2 years ago

faruzzy commented 2 years ago

Can we PLEASE add support for tsx files?

JustSage commented 2 years ago

tsx is supported. It may not appear in your completion engine, this has to do with your completion engine itself.

If you use the emmet's commands it will expand to tags: i.e. div<C-y>, will expand to <div></div>.

Tested on jsx, js, css and html.

mario-amazing commented 1 year ago

I had "emmet" disabled in tsx files because of my plugin manager settings:: Plug 'mattn/emmet-vim', {'for': ['html', 'eruby', 'slim', 'css', 'sass', 'scss']} After removing for section everything working correctly. Plug 'mattn/emmet-vim'