leave the loaded colorscheme alone. fixes #184.
This commit is contained in:
parent
3595debb97
commit
2f5ba93d0e
|
@ -26,6 +26,7 @@ function! airline#add_inactive_statusline_func(name)
|
|||
endfunction
|
||||
|
||||
function! airline#load_theme()
|
||||
highlight! default link airline_warningmsg WarningMsg
|
||||
call airline#highlighter#load_theme()
|
||||
call airline#extensions#load_theme()
|
||||
endfunction
|
||||
|
@ -88,7 +89,7 @@ function! airline#get_statusline(builder, winnr, active)
|
|||
call a:builder.add_section('airline_z', s:get_section(a:winnr, 'z'))
|
||||
if a:active
|
||||
call a:builder.add_raw('%(')
|
||||
call a:builder.add_section('warningmsg', s:get_section(a:winnr, 'warning', '', ''))
|
||||
call a:builder.add_section('airline_warningmsg', s:get_section(a:winnr, 'warning', '', ''))
|
||||
call a:builder.add_raw('%)')
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -112,7 +112,7 @@ function! s:generate()
|
|||
\ [s:N3[0].g, s:N3[1].g, s:N3[0].t, s:N3[1].t, s:N3[2]],
|
||||
\ s:NFa)
|
||||
|
||||
let g:airline#themes#solarized#palette.normal.warningmsg = [
|
||||
let g:airline#themes#solarized#palette.normal.airline_warningmsg = [
|
||||
\ s:NW[0].g, s:NW[1].g, s:NW[0].t, s:NW[1].t, s:NW[2]]
|
||||
|
||||
let g:airline#themes#solarized#palette.normal_modified = {
|
||||
|
|
Loading…
Reference in New Issue