fix separator colors for inactive splits

This commit is contained in:
Bailey Ling
2013-08-17 15:12:01 +00:00
parent 2f92346194
commit 47bfeee3ae
4 changed files with 19 additions and 23 deletions

View File

@@ -4,10 +4,6 @@
let s:sections = ['a','b','c','gutter','x','y','z','warning']
let s:highlighter = airline#highlighter#new()
function! airline#get_highlighter()
return s:highlighter
endfunction
function! airline#reload_highlight()
call s:highlighter.highlight(['inactive'])
call s:highlighter.highlight(['normal'])
@@ -23,7 +19,6 @@ function! airline#load_theme(name)
call airline#check_mode()
endfunction
function! s:get_section(winnr, key, ...)
let text = airline#util#getwinvar(a:winnr, 'airline_section_'.a:key, g:airline_section_{a:key})
let [prefix, suffix] = [get(a:000, 0, '%( '), get(a:000, 1, ' %)')]