Open JensPauwels opened 5 years ago
Getting same issue.
Me too, this used to work for me with the extends jsx
fix
Same here, I had the same problem some months ago after updating my plugins. Then I updated after some weeks and it got fixed. I updated them again today and it stop expanding to className
.
I followed the other issues (closed) instructions (like extending jsx) but still doesn't work. My filetype reported is javascript.jsx
but when I move my cursor within a JSX block of code :echo emmet#getFileType()
reports xml
(outside of the JSX block it reports it as javascript
.
Here's my vimrc file: https://github.com/edgarjs/vimfiles/blob/master/vimrc
This is such an awesome plugin btw!
I can confirm that by checking out this commit I can get it back to work:
Plug 'mattn/emmet-vim', { 'commit': 'd698f1658770ca5fa58c87e80421c8d65bbe9065' }
Seems like ae7d31f29080ad18073dda3530582dacb18475e6 broke it.
@edgarjs i can confirm that this is a temp solution.
Having the same issue. I confirm @edgarjs his solution as well.
This issue seems resolved in the version I just updated to.
when i use .foo i get <div class="foo"></div> instead of <div className="foo"><div>