From f82d715caaf984901c09220ddffe52173f83b16b Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 29 Oct 2013 22:18:15 +0900 Subject: [PATCH] Possible to specify !!! --- 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 0a9b347..b34ddc4 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -82,7 +82,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) let attributes = tag_name . attributes let tag_name = 'div' endif - if tag_name =~ '.!$' + if tag_name =~ '[^!]!$' let tag_name = tag_name[:-2] let important = 1 endif