From ed0610c916218808928cb87a6ed0f9ee1f6f7261 Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 4 Aug 2011 16:49:59 -0500 Subject: [PATCH] micro sleep - to display message properly --- autoload/vundle/installer.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index e2f0f69..79e9138 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -8,6 +8,7 @@ func! vundle#installer#new(bang, ...) abort exec ":1" redraw! + sleep 1m for l in range(1,len(names)) exec ":+1" @@ -48,9 +49,9 @@ func! vundle#installer#install(bang, name) abort echo 'Installing '.b.name exe ":sign place ".line('.')." line=".line('.')." name=VuAc buffer=" . bufnr("$") - let status = s:sync(a:bang, b) + sleep 1m - redraw! + let status = s:sync(a:bang, b) if 'updated' == status echo b.name.' installed'