forked from VimPlug/emmet-vim
Fix attrs_order
This commit is contained in:
@@ -153,6 +153,7 @@ function! zencoding#lang#haml#parseTag(tag)
|
|||||||
let current.attr[name] = value
|
let current.attr[name] = value
|
||||||
let attrs = attrs[stridx(attrs, match) + len(match):]
|
let attrs = attrs[stridx(attrs, match) + len(match):]
|
||||||
endwhile
|
endwhile
|
||||||
|
let current.attrs_order = keys(current.attr)
|
||||||
return current
|
return current
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ function! zencoding#lang#slim#parseTag(tag)
|
|||||||
let current.attr[name] = value
|
let current.attr[name] = value
|
||||||
let attrs = attrs[stridx(attrs, match) + len(match):]
|
let attrs = attrs[stridx(attrs, match) + len(match):]
|
||||||
endwhile
|
endwhile
|
||||||
|
let current.attrs_order = keys(current.attr)
|
||||||
return current
|
return current
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user