From bac79b8722a96a120f9ba76919d1e5b5fe5f94ec Mon Sep 17 00:00:00 2001 From: Aleh Kashnikau Date: Mon, 3 Aug 2015 16:47:56 +0300 Subject: [PATCH] fixed index generating progress bar --- autoload/padawan.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autoload/padawan.vim b/autoload/padawan.vim index fb9e336..683384a 100644 --- a/autoload/padawan.vim +++ b/autoload/padawan.vim @@ -114,6 +114,12 @@ class PadawanClient: vim.command("redraw | echo 'Progress "+barsStr+' '+str(progress)+"%'") time.sleep(0.005) + time.sleep(0.005) + barsStr = '' + for i in range(20): + barsStr += '=' + barsStr = '[' + barsStr + ']' + vim.command("redraw | echo 'Progress "+barsStr+" 100%'") vim.command("echom 'Index generated'") def ComposerDumpAutoload(self, curProject):