mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-05-19 23:09:50 +08:00
exapnd $# of attribute in block element. close #282
This commit is contained in:
@@ -487,7 +487,9 @@ function! emmet#lang#html#toString(settings, current, type, inline, filters, ite
|
||||
endif
|
||||
let text = substitute(text, '\${nr}', "\n", 'g')
|
||||
let text = substitute(text, '\\\$', '$', 'g')
|
||||
let str = substitute(str, '\("\zs$#\ze"\|\s\zs\$#"\|"\$#\ze\s\)', text, 'g')
|
||||
if text != ''
|
||||
let str = substitute(str, '\("\zs$#\ze"\|\s\zs\$#"\|"\$#\ze\s\)', text, 'g')
|
||||
endif
|
||||
endif
|
||||
let str .= text
|
||||
let nc = len(current.child)
|
||||
|
||||
Reference in New Issue
Block a user