allow warning section to collapse away

This commit is contained in:
Bailey Ling
2013-08-16 00:36:42 +00:00
parent 8b92cae46c
commit 703045a7e6
2 changed files with 20 additions and 8 deletions

View File

@@ -57,6 +57,9 @@ function! airline#themes#get_highlight2(fg, bg, ...)
endfunction
function! airline#themes#exec_highlight_separator(from, to)
if a:from == a:to
return a:from
endif
let l:from = airline#themes#get_highlight(a:from)
let l:to = airline#themes#get_highlight(a:to)
let group = a:from.'_to_'.a:to