On Sat, Mar 30, 2013 at 4:16 PM, tooth pik <[email protected]> wrote:
> The script, among other things, turns number off -- this works as long
> as my .vimrc only sets number.  If my vimrc sets relativenumber the
> scripted nonumber has no effect, and the window opens with
> relativenumbers -- even more perplexing, verbose set number? reports
> nonumber, and that it was set via the tinyscript.vim, but the window
> has relative numbers bigger'n doggy doo.

I don't know but I'd say this is as it should be.

'Number' and 'relativenumber' are related but separate. So if your vimrc
sets 'number' then you have to turn it off with ":set nonumber". If your
vimrc sets 'relativenumber' you have to turn it off with ":set
norelativenumber".

And :verbose reports correctly, too: The last time the 'number' option
was set was indeed by "set nonumber" in tinyscript.vim. But this is
masked by 'relativenumber' which is still on.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui