forked from VimPlug/emmet-vim
Fixes #306
This commit is contained in:
@@ -216,7 +216,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
|
|||||||
endif
|
endif
|
||||||
if item[0] ==# '['
|
if item[0] ==# '['
|
||||||
let atts = item[1:-2]
|
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 = []
|
let ks = []
|
||||||
if has_key(default_attributes, current.name)
|
if has_key(default_attributes, current.name)
|
||||||
let dfa = default_attributes[current.name]
|
let dfa = default_attributes[current.name]
|
||||||
|
|||||||
Reference in New Issue
Block a user