This commit is contained in:
Yasuhiro Matsumoto
2015-11-23 23:42:12 +09:00
parent 451367a2ce
commit fb3cac36bb

View File

@@ -216,7 +216,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
endif
if item[0] ==# '['
let atts = item[1:-2]
if matchstr(atts, '^\s*\zs[0-9a-zA-Z-:]\+\(="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\)') ==# ''
if matchstr(atts, '^\s*\zs[0-9a-zA-Z_\-:]\+\(="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\)') ==# ''
let ks = []
if has_key(default_attributes, current.name)
let dfa = default_attributes[current.name]