diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-06 23:07:33 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-06 23:07:33 +0800 |
| commit | 0de6932a7b84001389c2be9d57fd9a2c6e47bf3d (patch) | |
| tree | 4ea2708d18752b641a2f8b69197d498569e5b734 | |
| parent | 9ddffc1c6b73f1542f3df966bc5ccb08aea6491f (diff) | |
Change vim-airline settings
When init.vim is sourced, runtimepath has been changed yet. So we can
not find vim-airlinethemes under runtimepath.
| -rw-r--r-- | core/plugins.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index 0377b74..04ba955 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -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 |
