From 94261d6515b37a13e8a115d45750511c890c069f Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 22 Jun 2017 22:31:36 +0900 Subject: [PATCH] handle name={{width: 300px}} close #377 --- 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 d8cf710..436133c 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -280,7 +280,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort endif else while len(atts) - let amat = matchstr(atts, '^\s*\zs\([0-9a-zA-Z-:]\+\%(="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\|[^ ''"\]]*\)\{0,1}\)') + let amat = matchstr(atts, '^\s*\zs\([0-9a-zA-Z-:]\+\%(={{.\{-}}}\|="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\|[^ ''"\]]*\)\{0,1}\)') if len(amat) == 0 break endif