treat foo. as boolean attributes

closes #426
This commit is contained in:
Yasuhiro Matsumoto
2018-07-13 12:56:55 +09:00
parent e7dd13a750
commit dcf8f6efd8

View File

@@ -291,6 +291,8 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
endif
if len(ks) > 0
let current.attr[ks[0]] = atts
elseif atts =~# '\.$'
let current.attr[atts[:-2]] = function('emmet#types#true')
else
let current.attr[atts] = ''
endif