Undofile not being created when using just "SudoWrite" #3

Closed
blueyed opened this Issue Nov 11, 2011 · 2 comments

Projects

None yet

2 participants

@blueyed
  1. Start vim and verify that undofile and undodir are setup
  2. Add some contents to the new buffer
  3. :SudoWrite foo
  4. exit vim

"foo" is missing from the undodir - no history has been written.

You need to trigger a regular write (using :w for example) for the undofile being generated.

@chrisbra
Owner

Thanks for reporting. Should be fixed with revision: adfb6dd

@blueyed

Yes, appears to work now.
Thanks.

@blueyed blueyed closed this Dec 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment