diff --git a/autoload/airline.vim b/autoload/airline.vim index bbea8b8..d7b2b13 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -122,16 +122,16 @@ function! airline#check_mode(winnr) if g:airline_detect_modified if &modified call add(l:mode, 'modified') - let colors = g:airline#themes#{g:airline_theme}#palette.inactive_modified.airline_b + let colors = g:airline#themes#{g:airline_theme}#palette.inactive_modified.airline_c else - let colors = g:airline#themes#{g:airline_theme}#palette.inactive.airline_b + let colors = g:airline#themes#{g:airline_theme}#palette.inactive.airline_c endif for winnr in range(1, winnr('$')) if winnr != a:winnr \ && has_key(s:contexts, winnr) \ && s:contexts[winnr].bufnr == context.bufnr - call airline#highlighter#exec('airline_b'.(context.bufnr).'_inactive', colors) + call airline#highlighter#exec('airline_c'.(context.bufnr).'_inactive', colors) endif endfor endif diff --git a/autoload/airline/extensions/default.vim b/autoload/airline/extensions/default.vim index 6829a84..db3384a 100644 --- a/autoload/airline/extensions/default.vim +++ b/autoload/airline/extensions/default.vim @@ -48,8 +48,7 @@ function! airline#extensions#default#apply(builder, context) if airline#util#getwinvar(winnr, 'airline_render_left', active || (!active && !g:airline_inactive_collapse)) call build_sections(a:builder, a:context, s:layout[0]) else - call a:builder.add_section('airline_b'.(a:context.bufnr), ' %f%m ') - call a:builder.add_section('airline_c', '') + call a:builder.add_section('airline_c'.(a:context.bufnr), ' %f%m ') endif call a:builder.split(s:get_section(winnr, 'gutter', '', '')) diff --git a/autoload/airline/themes/dark.vim b/autoload/airline/themes/dark.vim index 71f8b6f..62522b1 100644 --- a/autoload/airline/themes/dark.vim +++ b/autoload/airline/themes/dark.vim @@ -85,7 +85,7 @@ let s:IA2 = [ '#4e4e4e' , '#262626' , 239 , 235 , '' ] let s:IA3 = [ '#4e4e4e' , '#303030' , 239 , 236 , '' ] let g:airline#themes#dark#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3, s:file) let g:airline#themes#dark#palette.inactive_modified = { - \ 'airline_b': [ '#875faf' , '' , 97 , '' , '' ] , + \ 'airline_c': [ '#875faf' , '' , 97 , '' , '' ] , \ }