fix #289. don't remove ${cursor} in attributes

This commit is contained in:
Yasuhiro Matsumoto
2015-08-18 10:50:09 +09:00
parent 6e1175326e
commit 7a9412d3da
2 changed files with 0 additions and 2 deletions

View File

@@ -56,7 +56,6 @@ function! emmet#lang#haml#toString(settings, current, type, inline, filters, ite
let tmp .= ' ' let tmp .= ' '
endif endif
endif endif
let Val = substitute(Val, '\${cursor}', '', '')
if attribute_style ==# 'hash' if attribute_style ==# 'hash'
let tmp .= ' :' . attr . ' => "' . Val . '"' let tmp .= ' :' . attr . ' => "' . Val . '"'
elseif attribute_style ==# 'html' elseif attribute_style ==# 'html'

View File

@@ -56,7 +56,6 @@ function! emmet#lang#jade#toString(settings, current, type, inline, filters, ite
let tmp .= ' ' let tmp .= ' '
endif endif
endif endif
let Val = substitute(Val, '\${cursor}', '', '')
if attribute_style ==# 'hash' if attribute_style ==# 'hash'
let tmp .= '' . attr . '="' . Val . '"' let tmp .= '' . attr . '="' . Val . '"'
elseif attribute_style ==# 'html' elseif attribute_style ==# 'html'