mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
fixes #333
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user