From 2d6abfdb7b91e3d5a998d19414a9909a30d68469 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 24 Dec 2024 11:22:19 +0800 Subject: [PATCH] fix(bootstrap_after): log bootstrap_after function --- autoload/SpaceVim/autocmds.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/SpaceVim/autocmds.vim b/autoload/SpaceVim/autocmds.vim index 16ebfc458..38bda754c 100644 --- a/autoload/SpaceVim/autocmds.vim +++ b/autoload/SpaceVim/autocmds.vim @@ -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)