Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

E325 and W13 when saving a new file (passed on command line) #2

Closed
blueyed opened this Issue · 2 comments

2 participants

Daniel Hahler chrisbra
Daniel Hahler

I have started vim baz, added some contents and then saved it using SudoWrite directly.

This results in the following error:

Error detected while processing function SudoEdit#SudoDo..SudoEdit#SudoWrite:
line   20:
E325: ATTENTION
Press ENTER or type command to continue
W13: Warning: File "baz" has been created after editing started
[O]K, (L)oad File: 

Vim 7.3.315.

chrisbra
Owner

Thanks for reporting. It's not really an error, Vim just tells you, that the file has been modified/created outside of vim and that is what is done by the external super user command. I made a fix, that vim doesn't this message anymore.
This should be done with rev: eebf44b

chrisbra chrisbra closed this
Daniel Hahler

This appears to be back now.. using d6b1203

Daniel Hahler blueyed referenced this issue from a commit in blueyed/SudoEdit.vim
Daniel Hahler Only set the filename using `:f` when writing to another file.
Fixes: #2
2f6c53a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.