vim: Do not warn if powerline fails loading

This commit is contained in:
Simon Bruder 2020-04-02 20:22:40 +00:00
parent 01aaffe48b
commit 80bfe2217e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -24,9 +24,9 @@ filetype plugin indent on
" statusline
if !has('nvim')
python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
silent! python3 from powerline.vim import setup as powerline_setup
silent! python3 powerline_setup()
silent! python3 del powerline_setup
set laststatus=2 " always show powerline
endif