From 1672e5664c7e88149f27f354488d6580cc99ea95 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 10 Nov 2015 09:43:25 +0900 Subject: [PATCH] should behave on only html --- 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 d88e2b0..968a55e 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -136,7 +136,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort let snippet = substitute(snippet, '|', '${cursor}', 'g') endif " just redirect to expanding - if snippet !~ '^\s*[{\[<]' + if type == 'html' && snippet !~ '^\s*[{\[<]' return emmet#lang#html#parseIntoTree(snippet, a:type) endif let lines = split(snippet, "\n", 1)