diff --git a/autoload/airline/builder.vim b/autoload/airline/builder.vim index 5853c23..b0352e3 100644 --- a/autoload/airline/builder.vim +++ b/autoload/airline/builder.vim @@ -142,7 +142,6 @@ endfunction function! s:get_transitioned_seperator(self, prev_group, group, side) let line = '' - call airline#highlighter#add_separator(a:prev_group, a:group, a:side) if get(a:self._context, 'tabline', 0) && get(g:, 'airline#extensions#tabline#alt_sep', 0) && a:group ==# 'airline_tabsel' && a:side call airline#highlighter#add_separator(a:prev_group, a:group, 0) let line .= '%#'.a:prev_group.'_to_'.a:group.'#' @@ -166,6 +165,7 @@ endfunction function! s:get_accented_line(self, group, contents) if a:self._context.active + " active window let contents = [] let content_parts = split(a:contents, '__accent') for cpart in content_parts @@ -175,6 +175,7 @@ function! s:get_accented_line(self, group, contents) let line = join(contents, a:group) let line = substitute(line, '__restore__', a:group, 'g') else + " inactive window let line = substitute(a:contents, '%#__accent[^#]*#', '', 'g') let line = substitute(line, '%#__restore__#', '', 'g') endif