Merge pull request #1271 from chrisbra/highlighter_bug
Use the correct highlighting for the inactive window
This commit is contained in:
commit
1c052e39b1
@ -51,6 +51,8 @@ function! s:prototype.build()
|
|||||||
let prev_group = s:get_prev_group(self._sections, i)
|
let prev_group = s:get_prev_group(self._sections, i)
|
||||||
if group ==# 'airline_c' && !self._context.active && has_key(self._context, 'bufnr')
|
if group ==# 'airline_c' && !self._context.active && has_key(self._context, 'bufnr')
|
||||||
let group = 'airline_c'. 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
|
endif
|
||||||
if is_empty
|
if is_empty
|
||||||
let prev_group = pgroup
|
let prev_group = pgroup
|
||||||
|
Loading…
Reference in New Issue
Block a user