diff --git a/autoload/airline/builder.vim b/autoload/airline/builder.vim index 9dcc66a..6c28f0b 100644 --- a/autoload/airline/builder.vim +++ b/autoload/airline/builder.vim @@ -51,6 +51,8 @@ function! s:prototype.build() let prev_group = s:get_prev_group(self._sections, i) if group ==# 'airline_c' && !self._context.active && has_key(self._context, 'bufnr') let group = 'airline_c'. self._context.bufnr + elseif prev_group ==# 'airline_c' && !self._context.active && has_key(self._context, 'bufnr') + let prev_group = 'airline_c'. self._context.bufnr endif if is_empty let prev_group = pgroup