forked from VimPlug/emmet-vim
fix default_attributes
This commit is contained in:
@@ -144,8 +144,8 @@ function! emmet#mergeConfig(lhs, rhs) abort
|
|||||||
if type(V) != 4
|
if type(V) != 4
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
for VV in keys(V)
|
for k in keys(V)
|
||||||
let lhs[VV] = V[VV]
|
let lhs[k] = V[k]
|
||||||
endfor
|
endfor
|
||||||
endfor
|
endfor
|
||||||
elseif type(rhs) ==# 4
|
elseif type(rhs) ==# 4
|
||||||
@@ -1700,8 +1700,8 @@ let s:emmet_settings = {
|
|||||||
\ 'meta:win': [{'http-equiv': 'Content-Type'}, {'content': 'text/html;charset=Win-1251'}],
|
\ 'meta:win': [{'http-equiv': 'Content-Type'}, {'content': 'text/html;charset=Win-1251'}],
|
||||||
\ 'meta:compat': [{'http-equiv': 'X-UA-Compatible'}, {'content': 'IE=7'}],
|
\ 'meta:compat': [{'http-equiv': 'X-UA-Compatible'}, {'content': 'IE=7'}],
|
||||||
\ 'style': g:emmet_html5 ? [] : [{'type': 'text/css'}],
|
\ 'style': g:emmet_html5 ? [] : [{'type': 'text/css'}],
|
||||||
\ 'script': g:emmet_html5 ? [] : [{'type': 'text/javascript'}],
|
\ 'script': [{'src': ''}] + (g:emmet_html5 ? [] : [{'type': 'text/javascript'}]),
|
||||||
\ 'script:src': g:emmet_html5 ? [{'src': ''}] : [{'type': 'text/javascript'}, {'src': ''}],
|
\ 'script:src': [{'src': ''}] + (g:emmet_html5 ? [] : [{'type': 'text/javascript'}, {'src': ''}]),
|
||||||
\ 'img': [{'src': ''}, {'alt': ''}],
|
\ 'img': [{'src': ''}, {'alt': ''}],
|
||||||
\ 'iframe': [{'src': ''}, {'frameborder': '0'}],
|
\ 'iframe': [{'src': ''}, {'frameborder': '0'}],
|
||||||
\ 'embed': [{'src': ''}, {'type': ''}],
|
\ 'embed': [{'src': ''}, {'type': ''}],
|
||||||
|
|||||||
Reference in New Issue
Block a user