mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +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 .= ' '
|
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'
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user