0

I use vim and power-line plugin, but I found my vim status line has a ugly red space in the left. who can help me to remove the red space.

enter image description here

Community
  • 1
  • 1
Frank
  • 928
  • 8
  • 15

1 Answers1

0

This may be because you are using the deprecated (Lokaltog/vim-powerline) version of powerline as well as the system-wide version installed using pip globally in order to use it outside of vim.

In that case powerline docs say that you need to only use the global powerline version and so you need to add the following line to your .vimrc:

python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
Gomino
  • 12,127
  • 4
  • 40
  • 49