mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
fix(bootstrap_after): log bootstrap_after function
This commit is contained in:
parent
af65682596
commit
2d6abfdb7b
@ -28,7 +28,9 @@ if has('nvim-0.10.0')
|
|||||||
if !empty(get(g:, '_spacevim_bootstrap_after', ''))
|
if !empty(get(g:, '_spacevim_bootstrap_after', ''))
|
||||||
function! s:bootstrap_after(...) abort
|
function! s:bootstrap_after(...) abort
|
||||||
try
|
try
|
||||||
|
call SpaceVim#logger#info('run bootstrap_after function:' . g:_spacevim_bootstrap_after)
|
||||||
call call(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
|
let g:_spacevim_bootstrap_after_success = 1
|
||||||
catch
|
catch
|
||||||
call SpaceVim#logger#error('failed to call bootstrap_after function: ' . g:_spacevim_bootstrap_after)
|
call SpaceVim#logger#error('failed to call bootstrap_after function: ' . g:_spacevim_bootstrap_after)
|
||||||
|
Loading…
Reference in New Issue
Block a user