mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
allow warning section to collapse away
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user