Browse Source

Merge 72da8f8fce into 9a38216a1c

pull/671/merge
Nate Fischer 8 years ago
committed by GitHub
parent
commit
e85bd48f0d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      autoload/vundle/installer.vim

+ 4
- 1
autoload/vundle/installer.vim View File

@ -527,8 +527,11 @@ func! s:log(str, ...) abort
let fmt = '%Y-%m-%d %H:%M:%S'
let lines = split(a:str, '\n', 1)
let time = strftime(fmt)
let entry_prefix = '['. time .'] '. prefix
for line in lines
call add(g:vundle#log, '['. time .'] '. prefix . line)
" Trim trailing whitespace
let entry = substitute(entry_prefix . line, '\m\s\+$', '', '')
call add(g:vundle#log, entry)
endfor
return a:str
endf


Loading…
Cancel
Save