basic working independent inactive modified highlights.

This commit is contained in:
Bailey Ling
2013-09-05 20:45:12 +00:00
parent e1be8ff22f
commit 01d742794f
3 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ function! airline#extensions#default#apply(builder, context)
if airline#util#getwinvar(winnr, 'airline_render_left', active || (!active && !g:airline_inactive_collapse))
call <sid>build_sections(a:builder, a:context, s:layout[0])
else
call a:builder.add_section('airline_b', ' %f%m ')
call a:builder.add_section('airline_b'.(a:context.bufnr), ' %f%m ')
call a:builder.add_section('airline_c', '')
endif
+3
View File
@@ -84,6 +84,9 @@ let s:IA1 = [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ]
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 , '' , '' ] ,
\ }
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp