Use python3 for powerline

This commit is contained in:
Julian Ospald 2018-06-15 17:11:02 +02:00
parent 4457d21b1f
commit 42670e50af
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

8
vimrc
View File

@ -52,7 +52,7 @@ else
Plug 'vim-scripts/LustyJuggler' Plug 'vim-scripts/LustyJuggler'
Plug 'powerline/powerline', { Plug 'powerline/powerline', {
\ 'branch': 'develop', \ 'branch': 'develop',
\ 'do': 'python setup.py install --user', \ 'do': 'python3 setup.py install --user',
\ 'rtp': 'powerline/bindings/vim', \ 'rtp': 'powerline/bindings/vim',
\ } \ }
endif endif
@ -156,9 +156,9 @@ so ~/.vim/plugged/cmdalias.vim/plugin/cmdalias.vim
if !has("nvim") if !has("nvim")
"powerline "powerline
python from powerline.vim import setup as powerline_setup python3 from powerline.vim import setup as powerline_setup
python powerline_setup() python3 powerline_setup()
python del powerline_setup python3 del powerline_setup
set laststatus=2 set laststatus=2
" lj " lj