mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Print log in reverse order
This commit is contained in:
parent
243b3d4090
commit
f033938829
4
plug.vim
4
plug.vim
@ -265,7 +265,7 @@ function! s:update_serial(pull)
|
|||||||
endif
|
endif
|
||||||
call setline(1, "Updating plugins (".cnt."/".total.")")
|
call setline(1, "Updating plugins (".cnt."/".total.")")
|
||||||
call s:progress_bar(2, cnt, total)
|
call s:progress_bar(2, cnt, total)
|
||||||
call append(line('$'), '- ' . name . ': ' . result)
|
call append(3, '- ' . name . ': ' . result)
|
||||||
normal! 2G
|
normal! 2G
|
||||||
redraw
|
redraw
|
||||||
endfor
|
endfor
|
||||||
@ -293,7 +293,7 @@ function! s:update_parallel(pull, threads)
|
|||||||
result = "- #{name}: #{result}"
|
result = "- #{name}: #{result}"
|
||||||
$curbuf[1] = "Updating plugins (#{cnt += 1}/#{total})"
|
$curbuf[1] = "Updating plugins (#{cnt += 1}/#{total})"
|
||||||
$curbuf[2] = '[' + ('=' * cnt).ljust(total) + ']'
|
$curbuf[2] = '[' + ('=' * cnt).ljust(total) + ']'
|
||||||
$curbuf.append $curbuf.count, result
|
$curbuf.append 3, result
|
||||||
VIM::command('normal! 2G')
|
VIM::command('normal! 2G')
|
||||||
VIM::command('redraw')
|
VIM::command('redraw')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user