From 993402fe6c96debcc5e6f8a6c49b68d787209b68 Mon Sep 17 00:00:00 2001 From: ZyX Date: Thu, 13 Mar 2014 23:27:06 +0400 Subject: [PATCH] Do not use :redrawstatus!: it makes intro disappear It seems that old fix for old code is no longer needed. At least I do not see any problems with vim -u NONE -S ~/.vam/powerline/powerline/bindings/vim/plugin/powerline.vim --cmd 'set ls=2' . Fixes #250 --- powerline/vim.py | 1 - 1 file changed, 1 deletion(-) diff --git a/powerline/vim.py b/powerline/vim.py index b9cf5820..517bae82 100644 --- a/powerline/vim.py +++ b/powerline/vim.py @@ -181,7 +181,6 @@ def setup(pyeval=None, pycmd=None): # inside :execute)). vim.command is :execute equivalent regarding this case. vim.command('augroup Powerline') vim.command(' autocmd! ColorScheme * :{pycmd} powerline.reset_highlight()'.format(pycmd=pycmd)) - vim.command(' autocmd! VimEnter * :redrawstatus!') vim.command(' autocmd! VimLeavePre * :{pycmd} powerline.shutdown()'.format(pycmd=pycmd)) vim.command('augroup END')