mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-27 07:54:44 +02:00
Merge branch 'use_defined_theme'
Conflicts: plugin/airline.vim
This commit is contained in:
commit
987622fc3c
@ -76,11 +76,11 @@ function! s:init()
|
||||
call airline#extensions#load()
|
||||
|
||||
let s:airline_theme_defined = exists('g:airline_theme')
|
||||
if !s:airline_theme_defined && !airline#switch_matching_theme()
|
||||
if s:airline_theme_defined || !airline#switch_matching_theme()
|
||||
let g:airline_theme = get(g:, 'airline_theme', 'dark')
|
||||
endif
|
||||
call airline#switch_theme(g:airline_theme)
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:on_window_changed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user