mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 08:45:42 +08:00
split core layers
This commit is contained in:
parent
40796d83ca
commit
127dc0dc9a
@ -1,7 +1,10 @@
|
|||||||
function! SpaceVim#layers#core#plugins() abort
|
function! SpaceVim#layers#core#plugins() abort
|
||||||
|
return [
|
||||||
|
\ ['Shougo/vimproc.vim', {'build' : 'make'}],
|
||||||
|
\ ['hecal3/vim-leader-guide', {'loadconf': 1, 'loadconf_before' : 1, 'merged' : 0}],
|
||||||
|
\ ]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SpaceVim#layers#core#config() abort
|
function! SpaceVim#layers#core#config() abort
|
||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -433,6 +433,15 @@ function! s:load_plugins() abort
|
|||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! s:getLayerPlugins(layer) abort
|
||||||
|
try
|
||||||
|
return SpaceVim#layers#{a:layer}#plugins()
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E117/
|
||||||
|
return []
|
||||||
|
endtry
|
||||||
|
|
||||||
|
endfunction
|
||||||
|
|
||||||
function! s:disable_plugins(plugin_list) abort
|
function! s:disable_plugins(plugin_list) abort
|
||||||
for name in a:plugin_list
|
for name in a:plugin_list
|
||||||
call dein#disable(name)
|
call dein#disable(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user