On 09/07/08 13:45, Andy Wokula wrote:
> Watch the output:
>      :setlocal autoread?
> --autoread
>
> Expected: "  autoread" or "noautoread".
>
> Seems 'autoread' is a special case: It is
> the only boolean option that can be "global or local to buffer".
>

After searching options.txt, it seems to be the only one indeed, though 
I suppose other global-local boolean options could be defined in the 
future, or by unofficial patches. This behaviour is documented under 
":help :setlocal":

>                       When displaying a specific local option, show the
>                       local value.  For a global/local boolean option, when
>                       the global value is being used, "--" is displayed
>                       before the option name.

Best regards,
Tony.
-- 
Support the right of unborn males to bear arms!
                -- A public service announcement from Phyllis Schlafly,
                   the Catholic Church, and the National Rifle
                   Association

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui