In a new buffer, the expression &l:autoread
evaluates to the value -1
, indicating that the local option autoread
has not yet been set with :setl autoread
or :setl noautoread
.
When I set the local option with :setl autoread
, the expression evaluates to 1
, when I unset it with :setl noautoread
, it evaluates to 0
. In either case, I won't be able to automatically have the global value for the option set with :set autoread
.
So, is there a possibility to completely unset/delete the local option so that the expression &l:autoread
will evaluate to -1
again?
echo &l:autoread
print-1
after starting up gvim.echo v:version
prints704
.&l:autochdir
which is a global option.