mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-05 09:27:36 +08:00
fix separator colors for inactive splits
This commit is contained in:
@@ -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, ' %)')]
|
||||
|
||||
Reference in New Issue
Block a user