mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +08:00
fix #289. don't remove ${cursor} in attributes
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user