mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
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
This commit is contained in:
parent
b4644ffd29
commit
993402fe6c
@ -181,7 +181,6 @@ def setup(pyeval=None, pycmd=None):
|
|||||||
# inside :execute)). vim.command is :execute equivalent regarding this case.
|
# inside :execute)). vim.command is :execute equivalent regarding this case.
|
||||||
vim.command('augroup Powerline')
|
vim.command('augroup Powerline')
|
||||||
vim.command(' autocmd! ColorScheme * :{pycmd} powerline.reset_highlight()'.format(pycmd=pycmd))
|
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(' autocmd! VimLeavePre * :{pycmd} powerline.shutdown()'.format(pycmd=pycmd))
|
||||||
vim.command('augroup END')
|
vim.command('augroup END')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user