mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
Fix lint again
This commit is contained in:
parent
27718e7f19
commit
e6d9a50189
@ -154,9 +154,7 @@ if !has('nvim')
|
|||||||
call add(s:plugins.ctrlp, ['wsdjeg/ctrlp-unity3d-docs', { 'on_cmd' : 'CtrlPUnity3DDocs'}])
|
call add(s:plugins.ctrlp, ['wsdjeg/ctrlp-unity3d-docs', { 'on_cmd' : 'CtrlPUnity3DDocs'}])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if zvim#plug#enable_plug()
|
function! s:load_plugins() abort
|
||||||
call zvim#plug#begin(g:spacevim_plugin_bundle_dir)
|
|
||||||
call zvim#plug#fetch()
|
|
||||||
for group in g:spacevim_plugin_groups
|
for group in g:spacevim_plugin_groups
|
||||||
for plugin in get(s:plugins, group, [])
|
for plugin in get(s:plugins, group, [])
|
||||||
if len(plugin) == 2
|
if len(plugin) == 2
|
||||||
@ -172,8 +170,12 @@ if zvim#plug#enable_plug()
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endfor
|
endfor
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
if zvim#plug#enable_plug()
|
||||||
|
call zvim#plug#begin(g:spacevim_plugin_bundle_dir)
|
||||||
|
call zvim#plug#fetch()
|
||||||
|
call s:load_plugins()
|
||||||
|
|
||||||
if count(g:spacevim_plugin_groups, 'autocomplete') "{{{
|
if count(g:spacevim_plugin_groups, 'autocomplete') "{{{
|
||||||
call zvim#plug#add('honza/vim-snippets',{'on_i' : 1})
|
call zvim#plug#add('honza/vim-snippets',{'on_i' : 1})
|
||||||
|
Loading…
Reference in New Issue
Block a user