mattn / emmet-vim

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

Request: Add syntax for boolean attributes #426

Closed bgx90 closed 6 years ago

bgx90 commented 6 years ago

Hello,

Would it be possible to add a syntax for adding a custom boolean attribute by adding a dot after the attribute name the way Emmet does? For example div[boolAttr.] would yield <div boolAttr></div> or <div boolAttr="boolAttr"></div> dependng on html version. See the boolean attributes bullet point in this post: https://emmet.io/blog/beta-v1-1/

Thanks