mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:10:05 +08:00
Add custom plugin
This commit is contained in:
parent
a6b208050a
commit
95f8610833
@ -94,6 +94,10 @@ function! SpaceVim#custom#apply(config) abort
|
||||
call SpaceVim#layers#load(layer.name, layer)
|
||||
endif
|
||||
endfor
|
||||
let custom_plugins = get(a:config, 'custom_plugins', [])
|
||||
for plugin in custom_plugins
|
||||
call add(g:spacevim_custom_plugins, [plugin.name, plugin])
|
||||
endfor
|
||||
let bootstrap_before = get(options, 'bootstrap_before', '')
|
||||
let g:_spacevim_bootstrap_after = get(options, 'bootstrap_after', '')
|
||||
if !empty(bootstrap_before)
|
||||
|
Loading…
Reference in New Issue
Block a user