Skip to content

File marked as modified after SudoWrite #12

blueyed opened this Issue Jan 16, 2012 · 2 comments

2 participants

blueyed commented Jan 16, 2012

When creating a new file using :SudoWrite $filename it is considered to be modified afterwards.

  1. vim
  2. ifoo<Esc>
  3. :SudoWrite /tmp/foo

While /tmp/foo is written correctly, Vim considers it to be modified (see :set modified?).

I have tested it using revision 69e6ccd.


Try revision de00cdb

@chrisbra chrisbra closed this Apr 21, 2012
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.