On Wednesday, February 22, 2017 at 9:45:02 AM UTC-6, RingoRangoRongo wrote:
> On Wednesday, February 22, 2017 at 5:21:20 PM UTC+2, Ben Fritz wrote:
> > Also, why are you using "setlocal undolevels=-1" instead of "setlocal 
> > noundofile", if you goal is only to disable persistent undo. Setting 
> > undolevels to -1 disables undo *entirely*.
> 
> Well, that's my purpose :). Sorry for somewhat misleading subject.

Assuming this is reliably repeatable, before performing the :w command that 
would create the undo file, do this to see what undolevels is and which script 
last changed it:

:verbose set undolevels?

Do it again after the :w to see if it has changed.

-- 
-- 
You received this message from the "vim_use" 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_use" 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/d/optout.

Reply via email to