mattn / emmet-vim

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

Expand only HTML tags. #480

Open sergioro9 opened 4 years ago

sergioro9 commented 4 years ago

I'm trying to expand only Html tags. For example div<c-y>, should be expanded to

<div></div>

But abc<c-y>, should not be expanded. By default emmet expands every word, I wonder if there's a setting to expand only html tags. Any help would be much appreciated.

mattn commented 4 years ago

Please do :EmmtInstall.

sergioro9 commented 4 years ago

I tried :EmmtInstall and got error E492: Not an editor command: EmmtInstall. Then I tried :EmmetInstall but that did not solve the issue: Typing abc<c-y>, is expanded to <abc></abc> even though abc is not a HTML tag.