From 6a6698a1798f0fd67f47d0b4cc09f54f162ff3d0 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 27 May 2016 01:52:33 +0900 Subject: [PATCH] fix #332 --- autoload/emmet/lang/html.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index 8713a0b..93567c7 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -1,7 +1,7 @@ -let s:bx = '{\%({[^}]*}\|"[^"]*"\|''[^'']*''\|[^${}]\+\|\$#\|\${\w\+}\|\$\+\)*}' +let s:bx = '{\%({[^}]*}\|"[^"]*"\|''[^'']*''\|\$#\|\${\w\+}\|\$\+\|[^{]\+\)*}' let s:mx = '\([+>]\|[<^]\+\)\{-}\s*' \ .'\((*\)\{-}\s*' -\ .'\([@#.]\{-}[a-zA-Z_\!][a-zA-Z0-9:_\!\-$]*\|' . s:bx . '*[ \t\r\n}]*\|\[[^\]]\+\]\)' +\ .'\([@#.]\{-}[a-zA-Z_\!][a-zA-Z0-9:_\!\-$]*\|' . s:bx . '\|\[[^\]]\+\]\)' \ .'\(' \ .'\%(' \ .'\%(#{[{}a-zA-Z0-9_\-\$]\+\|#[a-zA-Z0-9_\-\$]\+\)'