mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-05 09:27:36 +08:00
Make skip_empty variable overridable per window
The denite extension functions return the content of some buffer-local variables. Those variables are not defined, the first time the they are accessed and therefore, the statusline is not updated later when g:airline_skip_empty_sections is set. So disable this variable in this window, by setting the w:airline_skip_empty_section=0 variable in the denite window. closes #1454
This commit is contained in:
@@ -148,6 +148,12 @@ values):
|
||||
>
|
||||
let g:airline_skip_empty_sections = 1
|
||||
<
|
||||
|
||||
This variable can be overriden by setting a window-local variable with
|
||||
the same name (in the correct window):
|
||||
>
|
||||
let w:airline_skip_empty_sections = 0
|
||||
<
|
||||
==============================================================================
|
||||
COMMANDS *airline-commands*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user