From fb3cac36bbc91e9ce4b46cb99307ce5cf9e8a444 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 23 Nov 2015 23:42:12 +0900 Subject: [PATCH] Fixes #306 --- autoload/emmet/lang/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index 968a55e..8e20af7 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -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]