chrisbra/SudoEdit.vim — Issue #12: File marked as modified after SudoWrite
Author: blueyed
Created: 2012-01-16 13:15:10+00:00
State: open

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

1. vim
2. `ifoo`
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.