mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 07:40: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)
|
call SpaceVim#layers#load(layer.name, layer)
|
||||||
endif
|
endif
|
||||||
endfor
|
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 bootstrap_before = get(options, 'bootstrap_before', '')
|
||||||
let g:_spacevim_bootstrap_after = get(options, 'bootstrap_after', '')
|
let g:_spacevim_bootstrap_after = get(options, 'bootstrap_after', '')
|
||||||
if !empty(bootstrap_before)
|
if !empty(bootstrap_before)
|
||||||
|
Loading…
Reference in New Issue
Block a user