mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Change vim-airline settings
When init.vim is sourced, runtimepath has been changed yet. So we can not find vim-airlinethemes under runtimepath.
This commit is contained in:
parent
9ddffc1c6b
commit
0de6932a7b
@ -417,9 +417,7 @@ let s:candidate_airlinetheme = ['ayu_mirage', 'lucius', 'ayu_dark', 'base16_brig
|
||||
let s:idx = utils#RandInt(0, len(s:candidate_airlinetheme)-1)
|
||||
let s:theme = s:candidate_airlinetheme[s:idx]
|
||||
|
||||
if utils#HasAirlinetheme(s:theme)
|
||||
let g:airline_theme=s:theme
|
||||
endif
|
||||
let g:airline_theme=s:theme
|
||||
|
||||
" Tabline settings
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user