vim-airline/autoload/airline
Nate Soares 17b6bd9c8f Fixed bug where highlighting on inactive windows wouldn't refresh.
This seems to be an omission/regression from #afb75adc, where inactive
highlight updating was accidentally removed when fixing another bug.

Solution: Add back the deleted statement. closes #1339

Repro steps:
1. Install some theme that depends on the background color
   (Soares/base16.nvim has a bunch)
2. `set background=dark` in your vimrc, and `colorscheme` one of the
   aforementioned schemes.
3. Open a split window. Note the colors on the inactive window's airline.
4. `set background=light` manually. note the colors on the inactive
   window's airline. Note how they have not updated. (In particular,
   airline_c_inactive has updated, but all the other inactive groups
   have not.)
5. Enter the inactive window. Exit the inactive window. Observe that the
   colors are now correct (showing that it is in fact a problem with the
   airline load_theme code, and not with the theme).

It seems strange that the code as written only expects
airline_c_inactive to have styling; perhaps there is some norm that
themes are supposed to handle inactive windows in a particular way? For
the record, my theme dis omething like this:

```
let s:IA1   = s:airlist('similar1', 'similar2')
let s:IA2   = s:airlist('similar1', 'similar2')
let s:IA3   = s:airlist('similar1', 'similar2')
let g:airline#themes#{s:palette}#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
let g:airline#themes#{s:palette}#palette.inactive.airline_warning = s:airlist('base', 'contrast3')
let g:airline#themes#{s:palette}#palette.inactive.airline_error = s:airlist('base', 'antibase')
```
2016-12-09 12:53:35 +01:00
..
extensions Merge pull request #1348 from shaunbrady/exclude_at_runtime 2016-12-06 21:18:38 +01:00
themes Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
builder.vim do not skip empty sections for the tabline 2016-09-27 21:44:00 +02:00
debug.vim Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
extensions.vim guard against loading extensions twice 2016-10-24 12:14:30 +02:00
highlighter.vim Fixed bug where highlighting on inactive windows wouldn't refresh. 2016-12-09 12:53:35 +01:00
init.vim Add support for ALE, the Async Linting Engine 2016-10-14 10:36:21 +02:00
msdos.vim Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
parts.vim Shorten mode message for small windows 2016-10-20 22:57:26 +02:00
section.vim Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
themes.vim Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
util.vim Do not forward v:shell_error on command fail. 2016-11-20 10:16:13 +01:00