correctly check w:airline_skip_empty_sections var
This commit is contained in:
parent
f76ede3b28
commit
4a47cd70cd
|
@ -163,7 +163,7 @@ function! s:section_is_empty(self, content)
|
|||
endif
|
||||
|
||||
" only check, if airline#skip_empty_sections == 1
|
||||
if get(w:, 'airline_skip_empty_sections', 0) == 0
|
||||
if get(w:, 'airline_skip_empty_sections', -1) == 0
|
||||
return 0
|
||||
endif
|
||||
" assume accents sections to be never empty
|
||||
|
|
Loading…
Reference in New Issue