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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user