I think I just found a minor bug in the help:

    :h :setl|/^:se\[t].*}<
,----
| :se[t] {option}<
|     Set the local value of {option} to its global value by
|     making it empty.  Only makes sense for |global-local|
|     options.
`----
The command should be :setlocal, not :set.  The example under
*global-local* is ok.

Example to show the difference:

Bad:
    :setl ar&
    :set ar< ar?
    noautoread

Good:
    :setl ar&
    :setl ar< ar?
    --autoread

Either the help is wrong or  :set ar<  should actually remove the local
value.

--
Andy

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui