forked from VimPlug/emmet-vim
avoid to error.
This commit is contained in:
@@ -1076,11 +1076,13 @@ function! ZenCompleteTag(findstart, base)
|
|||||||
call add(res, item)
|
call add(res, item)
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
if has_key(s:zen_settings[type], 'aliases')
|
||||||
for item in values(s:zen_settings[type]['aliases'])
|
for item in values(s:zen_settings[type]['aliases'])
|
||||||
if stridx(item, a:base) != -1
|
if stridx(item, a:base) != -1
|
||||||
call add(res, item)
|
call add(res, item)
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
endif
|
||||||
return res
|
return res
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user