forked from VimPlug/emmet-vim
exapnd $# of attribute in block element. close #282
This commit is contained in:
1 parent
af10f14ae5
commit
f36d6f4025
3 files changed
+8
-2
No files matched your search
@@ -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