1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:10:06 +08:00

fix(bootstrap_after): log bootstrap_after function

This commit is contained in:
Eric Wong 2024-12-24 11:22:19 +08:00
parent af65682596
commit 2d6abfdb7b

View File

@ -28,7 +28,9 @@ if has('nvim-0.10.0')
if !empty(get(g:, '_spacevim_bootstrap_after', ''))
function! s:bootstrap_after(...) abort
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)