rename warningmsg to warning.

This commit is contained in:
Bailey Ling 2013-08-27 23:44:03 +00:00
parent 6fc8c00ef1
commit ea4e0280fb
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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 = {