Skip to content

Commit

Permalink
Use vim-airline instead of powerline for nvim
Browse files Browse the repository at this point in the history
nvim doesn't support powerline: powerline/powerline#1287
  • Loading branch information
lhanson committed May 1, 2018
1 parent 9edfe34 commit 68a3a3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Binary file modified powerline/.config/vim/vimrc.d/.powerline.vim.swp
Binary file not shown.
5 changes: 2 additions & 3 deletions powerline/.config/vim/vimrc.d/powerline.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
" powerline.vim - Configuration for the powerline plugin
"###############################################################################

if has('nvim')
" nvim doesn't support powerline yet: https://github.com/powerline/powerline/issues/1287
else
" nvim doesn't support powerline yet: https://github.com/powerline/powerline/issues/1287
if !has('nvim')
source /usr/local/lib/python3.6/site-packages/powerline/bindings/vim/plugin/powerline.vim
set laststatus=2
set t_Co=256
Expand Down
8 changes: 7 additions & 1 deletion vim/.config/vim/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ if dein#load_state(s:dein_cache)
" Intelligently reopen files at your last edit position
call dein#add('farmergreg/vim-lastplace')
call dein#add('gko/vim-coloresque')
call dein#add('powerline/powerline')
if has('nvim')
" nvim doesn't support powerline yet: https://github.com/powerline/powerline/issues/1287
call dein#add('vim-airline/vim-airline')
else
call dein#add('powerline/powerline')
endif


"To uninstall commented-out/unused plugins:
"call map(dein#check_clean(), "delete(v:val, 'rf')")
Expand Down

0 comments on commit 68a3a3d

Please sign in to comment.