Hi Andy!

On Di, 16 Okt 2012, Andy Wokula wrote:

> Am 16.10.2012 18:00, schrieb Christian Brabandt:> Bram,
> >when doing :setglobal noswapfile, Vim incorrectly does not delete all
> >swapfiles. Also, if you have disabled swapfiles, :setglobal swapfile
> >won't create swapfiles for all loaded buffers.
> >
> >Attached patch fixes it.
> 
> Why is that a bug?
> The 'swapfile' option is "local to buffer" which means the global value
> is only used for *new* buffers.

Hm, okay. This is sometimes confusing and just today I found it 
annoying, that one couldn't reset the swapfile for all buffers. But I 
guess, I should have used :bufdo :setlocal noswapfile.

regards,
Christian
-- 

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