Trying to write something to a directory where the user does not have write permission (say /etc) you get something like this:
E828: Cannot open undo file for writing: /etc/.foo.un~
It still writes the file, but you lose all content from the buffer and have to reopen if you want to edit more.
Error Message when not able to create undofile #14
@chrisbra you mean the "persistence undo" feature causes this error?
If yes, I think it's a little wired, because of I didn't enable this feature, and never saw any .foo.un~ file.
Tried, I got nothing.
:verbose set fileencoding
Last set from ~/.vimrc
Check for undofile-setting #14
If "persistence undo" is disabled, there's no error message at all.
Just save files silently.
Yes the problem seems to be fixed for me too! This is great because now i can use this plugin :)