Tiny change to fix "Could not resolve airline theme "solarized". Themes have been migrated to github.co m/vim-airline/vim-airline-themes." as vim-airline made a update days ago.

This commit is contained in:
Supr 2016-02-03 23:43:24 +08:00
parent 4fbdd8cf10
commit cd86dbd262
2 changed files with 3 additions and 2 deletions

2
.vimrc
View File

@ -1050,7 +1050,7 @@
" See `:echo g:airline_theme_map` for some more choices " See `:echo g:airline_theme_map` for some more choices
" Default in terminal vim is 'dark' " Default in terminal vim is 'dark'
if isdirectory(expand("~/.vim/bundle/vim-airline/")) if isdirectory(expand("~/.vim/bundle/vim-airline-themes/"))
if !exists('g:airline_theme') if !exists('g:airline_theme')
let g:airline_theme = 'solarized' let g:airline_theme = 'solarized'
endif endif

View File

@ -118,7 +118,8 @@
elseif exists('g:spf13_use_powerline') && exists('g:spf13_use_old_powerline') elseif exists('g:spf13_use_powerline') && exists('g:spf13_use_old_powerline')
Bundle 'Lokaltog/vim-powerline' Bundle 'Lokaltog/vim-powerline'
else else
Bundle 'bling/vim-airline' Bundle 'vim-airline/vim-airline'
Bundle 'vim-airline/vim-airline-themes'
endif endif
Bundle 'powerline/fonts' Bundle 'powerline/fonts'
Bundle 'bling/vim-bufferline' Bundle 'bling/vim-bufferline'