From 7a9412d3daf0a6504b982a792dbb58eaf8ef5cc3 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 18 Aug 2015 10:50:09 +0900 Subject: [PATCH] fix #289. don't remove ${cursor} in attributes --- autoload/emmet/lang/haml.vim | 1 - autoload/emmet/lang/jade.vim | 1 - 2 files changed, 2 deletions(-) diff --git a/autoload/emmet/lang/haml.vim b/autoload/emmet/lang/haml.vim index bd8d247..a3585c9 100644 --- a/autoload/emmet/lang/haml.vim +++ b/autoload/emmet/lang/haml.vim @@ -56,7 +56,6 @@ function! emmet#lang#haml#toString(settings, current, type, inline, filters, ite let tmp .= ' ' endif endif - let Val = substitute(Val, '\${cursor}', '', '') if attribute_style ==# 'hash' let tmp .= ' :' . attr . ' => "' . Val . '"' elseif attribute_style ==# 'html' diff --git a/autoload/emmet/lang/jade.vim b/autoload/emmet/lang/jade.vim index 8b0596a..06454a0 100644 --- a/autoload/emmet/lang/jade.vim +++ b/autoload/emmet/lang/jade.vim @@ -56,7 +56,6 @@ function! emmet#lang#jade#toString(settings, current, type, inline, filters, ite let tmp .= ' ' endif endif - let Val = substitute(Val, '\${cursor}', '', '') if attribute_style ==# 'hash' let tmp .= '' . attr . '="' . Val . '"' elseif attribute_style ==# 'html'