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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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