chrisbra/SudoEdit.vim — comment on commit eebf44b56f99012dd080f25f34c84589e63c0724
File:  line 0
By chrisbra:

I don't think, using setlocal nomodified works. Vim will still notice (after calling the external shell command) that the file has been modified and ask the question. I tried setting 'buftype' and 'autoread' options and resetting before the function finishes, but it seems, Vim checks after the functions returns, whether the file changed. So the best way is actually to force reloading the file.

Thanks for noticing the typo. Fixed it.