highlighter: even further refinement of when to skip groups
This commit is contained in:
parent
cfd373a5a2
commit
f05f649be8
@ -271,10 +271,8 @@ function! airline#highlighter#highlight(modes, ...)
|
|||||||
if bnr > 0 && index(buffers_in_tabpage, bnr) == -1
|
if bnr > 0 && index(buffers_in_tabpage, bnr) == -1
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
elseif (empty(suffix) && name =~# '_to_') ||
|
elseif (name =~# '_to_') || (name[0:10] is# 'airline_tab' && !empty(suffix))
|
||||||
\ (name[0:10] is# 'airline_tab' && !empty(suffix))
|
|
||||||
" group will be redefined below at exec_separator
|
" group will be redefined below at exec_separator
|
||||||
" (except for _inactive groups)
|
|
||||||
" or is not needed for tabline with '_inactive' suffix
|
" or is not needed for tabline with '_inactive' suffix
|
||||||
" since active flag is 1 for builder)
|
" since active flag is 1 for builder)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user