mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 03:18:56 +08:00
rename warningmsg to warning.
This commit is contained in:
parent
6fc8c00ef1
commit
ea4e0280fb
|
@ -26,7 +26,7 @@ function! airline#add_inactive_statusline_func(name)
|
|||
endfunction
|
||||
|
||||
function! airline#load_theme()
|
||||
highlight! default link airline_warningmsg WarningMsg
|
||||
highlight! default link airline_warning WarningMsg
|
||||
call airline#highlighter#load_theme()
|
||||
call airline#extensions#load_theme()
|
||||
endfunction
|
||||
|
|
|
@ -39,7 +39,7 @@ function! airline#extensions#default#apply(builder, context)
|
|||
call a:builder.add_section('airline_z', s:get_section(winnr, 'z'))
|
||||
if active
|
||||
call a:builder.add_raw('%(')
|
||||
call a:builder.add_section('airline_warningmsg', s:get_section(winnr, 'warning', '', ''))
|
||||
call a:builder.add_section('airline_warning', s:get_section(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.airline_warningmsg = [
|
||||
let g:airline#themes#solarized#palette.normal.airline_warning = [
|
||||
\ 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
Block a user