1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-01 04:11:31 +08:00

feat(project): catch callback error

This commit is contained in:
Eric Wong 2025-02-17 22:13:44 +08:00
parent 30a0999c7c
commit eed9d8f149

View File

@ -349,7 +349,10 @@ else
let g:_spacevim_project_name = project.name
let b:_spacevim_project_name = g:_spacevim_project_name
for Callback in s:project_callback
call call(Callback, [])
try
call call(Callback, [])
catch
endtry
endfor
endfunction