Bug: initial value is wrong; it should be false, 0 (#1074)

This caused no effect for the first call to ToggleHiddenAll().
    The second call works as value was set correctly inside
    ToggleHiddenAll() on the first call.
This commit is contained in:
Arjun Karangiya
2022-02-02 19:55:48 +05:30
committed by GitHub
parent c28d25c152
commit 82b70e3a8e

View File

@@ -132,7 +132,7 @@ if &diff
endif
" Function for toggling the bottom statusbar:
let s:hidden_all = 1
let s:hidden_all = 0
function! ToggleHiddenAll()
if s:hidden_all == 0
let s:hidden_all = 1