mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
parent
0d220f5d34
commit
f33fbfd391
@ -12,9 +12,12 @@ function! SpaceVim#layers#load(layer, ...) abort
|
||||
endif
|
||||
if index(g:spacevim_plugin_groups, a:layer) == -1
|
||||
call add(g:spacevim_plugin_groups, a:layer)
|
||||
if a:0 == 1 && type(a:1) == 4
|
||||
endif
|
||||
if a:0 == 1 && type(a:1) == 4
|
||||
try
|
||||
call SpaceVim#layers#{a:layer}#set_variable(a:1)
|
||||
endif
|
||||
catch /^Vim\%((\a\+)\)\=:E117/
|
||||
endtry
|
||||
endif
|
||||
if a:0 > 0 && type(a:1) == 1
|
||||
for l in a:000
|
||||
|
Loading…
Reference in New Issue
Block a user