mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
Expand lorem with div only when there is multiplier.
This commit is contained in:
@@ -147,7 +147,9 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
|
||||
let tag_name = pmap[pname]
|
||||
elseif !empty(pname) && index(inlineLevel, pname) > -1
|
||||
let tag_name = 'span'
|
||||
elseif len(parent.child) == 0 || len(custom) == 0
|
||||
elseif len(custom) == 0
|
||||
let tag_name = 'div'
|
||||
elseif len(custom) != 0 && multiplier > 1
|
||||
let tag_name = 'div'
|
||||
else
|
||||
let tag_name = custom
|
||||
|
||||
Reference in New Issue
Block a user