This commit is contained in:
Yasuhiro Matsumoto
2016-06-05 09:54:14 +09:00
parent 02f5a2ec81
commit bcab81cc24

View File

@@ -382,7 +382,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
break break
endif endif
endfor endfor
let cl = last.child[nc:] let cl = last.child[start:]
let cls = [] let cls = []
for c in range(n[1:]) for c in range(n[1:])
for cc in cl for cc in cl
@@ -394,8 +394,8 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
endfor endfor
let cls += deepcopy(cl) let cls += deepcopy(cl)
endfor endfor
if nc > 0 if start > 0
let last.child = last.child[:nc-1] + cls let last.child = last.child[:start-1] + cls
else else
let last.child = cls let last.child = cls
endif endif