From f033938829ee2cc34e8fd63fdf7075a1101fa314 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 22 Sep 2013 13:38:09 +0900 Subject: [PATCH] Print log in reverse order --- plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.vim b/plug.vim index b68bf04..8723f55 100644 --- a/plug.vim +++ b/plug.vim @@ -265,7 +265,7 @@ function! s:update_serial(pull) endif call setline(1, "Updating plugins (".cnt."/".total.")") call s:progress_bar(2, cnt, total) - call append(line('$'), '- ' . name . ': ' . result) + call append(3, '- ' . name . ': ' . result) normal! 2G redraw endfor @@ -293,7 +293,7 @@ function! s:update_parallel(pull, threads) result = "- #{name}: #{result}" $curbuf[1] = "Updating plugins (#{cnt += 1}/#{total})" $curbuf[2] = '[' + ('=' * cnt).ljust(total) + ']' - $curbuf.append $curbuf.count, result + $curbuf.append 3, result VIM::command('normal! 2G') VIM::command('redraw') }