forked from VimPlug/emmet-vim
Merge commit 'b7f309f729c71170313e'
This commit is contained in:
@@ -1300,6 +1300,10 @@ function! s:zen_toString(...)
|
|||||||
if type == 'css' && s:zen_use_filter(filters, 'fc')
|
if type == 'css' && s:zen_use_filter(filters, 'fc')
|
||||||
let tmp = substitute(tmp, '^\([^:]\+\):\(.*\)$', '\1: \2', '')
|
let tmp = substitute(tmp, '^\([^:]\+\):\(.*\)$', '\1: \2', '')
|
||||||
endif
|
endif
|
||||||
|
for attr in keys(current.attr)
|
||||||
|
let val = current.attr[attr]
|
||||||
|
let tmp = substitute(tmp, '\${' . attr . '}', val, 'g')
|
||||||
|
endfor
|
||||||
let str .= tmp
|
let str .= tmp
|
||||||
else
|
else
|
||||||
if len(current.name)
|
if len(current.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user