From f05f649be85102404dd30dc905c6e5b0eb569c18 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 13 Nov 2018 13:57:15 +0100 Subject: [PATCH] highlighter: even further refinement of when to skip groups --- autoload/airline/highlighter.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 0843e2d..085afa0 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -271,10 +271,8 @@ function! airline#highlighter#highlight(modes, ...) if bnr > 0 && index(buffers_in_tabpage, bnr) == -1 continue endif - elseif (empty(suffix) && name =~# '_to_') || - \ (name[0:10] is# 'airline_tab' && !empty(suffix)) + elseif (name =~# '_to_') || (name[0:10] is# 'airline_tab' && !empty(suffix)) " group will be redefined below at exec_separator - " (except for _inactive groups) " or is not needed for tabline with '_inactive' suffix " since active flag is 1 for builder) continue