From 2d67896b06b2ae0e70ac13883d94e2026a5f072c Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 24 Oct 2016 18:13:27 +1300 Subject: [PATCH] Add debug statement with exit code after system() call --- autoload/tagbar.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 3307b9f..04cb72c 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -3805,6 +3805,7 @@ function! s:ExecuteCtags(ctags_cmd) abort if s:debug silent 5verbose let ctags_output = system(a:ctags_cmd) call s:debug(v:statusmsg) + call s:debug('Exit code: ' . v:shell_error) redraw! else silent let ctags_output = system(a:ctags_cmd)