diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index e369dcd..6fff242 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -1,4 +1,4 @@ -let s:bx = '{\%({[^}]*}\|"[^"]*"\|''[^'']*''\|\$#\|\${\w\+}\|\$\+\|[^{}]\+\)\{-}}' +let s:bx = '{\%("[^"]*"\|''[^'']*''\|\$#\|\${\w\+}\|\$\+\|{[^{]\+\|[^{}]\)\{-}}' let s:mx = '\([+>]\|[<^]\+\)\{-}\s*' \ .'\((*\)\{-}\s*' \ .'\([@#.]\{-}[a-zA-Z_\!][a-zA-Z0-9:_\!\-$]*\|' . s:bx . '\|\[[^\]]\+\]\)'