mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:20:04 +08:00
perf(bootstrap): log bootstrap function status
This commit is contained in:
parent
d064660bc1
commit
af65682596
@ -88,7 +88,9 @@ else
|
||||
call SpaceVim#plugins#projectmanager#RootchandgeCallback()
|
||||
if !empty(get(g:, '_spacevim_bootstrap_after', ''))
|
||||
try
|
||||
call SpaceVim#logger#info('run bootstrap_after function:' . g:_spacevim_bootstrap_after)
|
||||
call call(g:_spacevim_bootstrap_after, [])
|
||||
call SpaceVim#logger#info('bootstrap_after function was called successfully.')
|
||||
let g:_spacevim_bootstrap_after_success = 1
|
||||
catch
|
||||
call SpaceVim#logger#error('failed to call bootstrap_after function: ' . g:_spacevim_bootstrap_after)
|
||||
|
@ -282,7 +282,9 @@ function! s:apply(config, type) abort
|
||||
|
||||
if !empty(bootstrap_before)
|
||||
try
|
||||
call SpaceVim#logger#info('run bootstrap_before function:' . bootstrap_before)
|
||||
call call(bootstrap_before, [])
|
||||
call SpaceVim#logger#info('bootstrap_before function was called successfully.')
|
||||
let g:_spacevim_bootstrap_before_success = 1
|
||||
catch
|
||||
call SpaceVim#logger#error('bootstrap_before function failed: '
|
||||
|
Loading…
Reference in New Issue
Block a user