mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-18 09:55:57 +08:00
@@ -50,7 +50,7 @@ else
|
|||||||
function s:add_section(builder, context, key)
|
function s:add_section(builder, context, key)
|
||||||
if a:key == 'warning'
|
if a:key == 'warning'
|
||||||
call a:builder.add_raw('%#airline_warning#'.s:get_section(a:context.winnr, a:key))
|
call a:builder.add_raw('%#airline_warning#'.s:get_section(a:context.winnr, a:key))
|
||||||
else if a:key == 'error'
|
elseif a:key == 'error'
|
||||||
call a:builder.add_raw('%#airline_error#'.s:get_section(a:context.winnr, a:key))
|
call a:builder.add_raw('%#airline_error#'.s:get_section(a:context.winnr, a:key))
|
||||||
else
|
else
|
||||||
call a:builder.add_section('airline_'.a:key, s:get_section(a:context.winnr, a:key))
|
call a:builder.add_section('airline_'.a:key, s:get_section(a:context.winnr, a:key))
|
||||||
|
|||||||
Reference in New Issue
Block a user