Browse Source

minor improvement

pull/73/head
gmarik 15 years ago
parent
commit
f95998e5f1
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      autoload/vundle/installer.vim

+ 2
- 3
autoload/vundle/installer.vim View File

@ -132,12 +132,11 @@ func! s:sync(bang, bundle) abort
endf
func! s:system(cmd) abort
let output = system(a:cmd)
call s:log(output)
return output
return s:log(system(a:cmd))
endf
func! s:log(str) abort
if !exists('g:vundle_log') | let g:vundle_log = [] | endif
call add(g:vundle_log, a:str)
return a:str
endf

Loading…
Cancel
Save