From 42f5825f70f7e5fd12c0d343d7b4a755c1eb8464 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sun, 7 Aug 2011 22:04:36 -0500 Subject: [PATCH] verbose logging --- autoload/vundle/installer.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 85b6409..8c75268 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -131,6 +131,10 @@ func! s:sync(bang, bundle) abort endif let out = s:system(cmd) + call s:log('') + call s:log('Bundle '.a:bundle.name_spec) + call s:log('$ '.cmd) + call s:log('> '.out) if 0 != v:shell_error return 'error' @@ -144,7 +148,7 @@ func! s:sync(bang, bundle) abort endf func! s:system(cmd) abort - return s:log(system(a:cmd)) + return system(a:cmd) endf func! s:log(str) abort