diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index 5e374f7f..a52cd492 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -6,7 +6,7 @@ let s:mx = '\([+>]\|[<^]\+\)\{-}' \ .'\%(' \ .'\%(#{[{}a-zA-Z0-9_\-\$]\+\|#[a-zA-Z0-9_\-\$]\+\)' \ .'\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)' -\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$\.]\+\|\.[a-zA-Z0-9_\-\$]\+\)' +\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$/:\.]\+\|\.[a-zA-Z0-9_\-\$/:]\+\)' \ .'\)*' \ .'\)' \ .'\%(\(' . s:bx . '\+\)\)\{0,1}' @@ -265,7 +265,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort if len(attributes) let attr = attributes while len(attr) - let item = matchstr(attr, '\(\%(\%(#[{}a-zA-Z0-9_\-\$]\+\)\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)\|\%(\.[{}a-zA-Z0-9_\-\$]\+\)*\)\)') + let item = matchstr(attr, '\(\%(\%(#[{}a-zA-Z0-9_\-\$]\+\)\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)\|\%(\.[{}a-zA-Z0-9_\-\$/:]\+\)*\)\)') if g:emmet_debug > 1 echomsg 'attr=' . item endif