mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
text content should be repeated with multiplier
This commit is contained in:
@@ -237,7 +237,11 @@ function! emmet#toString(...) abort
|
||||
let snippet_node = emmet#newNode()
|
||||
let snippet_node.value = '{'.tmp.'}'
|
||||
let snippet_node.important = current.important
|
||||
let str = emmet#lang#{rtype}#toString(s:emmet_settings, snippet_node, type, inline, filters, s:itemno(group_itemno, current), indent)
|
||||
let snippet_node.multiplier = current.multiplier
|
||||
let str .= emmet#lang#{rtype}#toString(s:emmet_settings, snippet_node, type, inline, filters, s:itemno(group_itemno, current), indent)
|
||||
if current.multiplier > 1
|
||||
let str .= "\n"
|
||||
endif
|
||||
else
|
||||
if len(current.name)
|
||||
let str .= current.name
|
||||
|
||||
Reference in New Issue
Block a user