Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"E605: Exception not caught: emptyfile" when using :SudoWrite on a fresh profile #1

Closed
blueyed opened this Issue · 2 comments

2 participants

@blueyed

I have just used :SudoWrite on a fresh profile (mkdir /tmp/h ; HOME=/tmp/h ; vim), and got the following error:

Error detected while processing function SudoEdit#SudoDo:
line    5:
E605: Exception not caught: emptyfile
@blueyed

The error here really is the missing file name.. I get "E32: No file name" when using the regular ":w", too.

Just a matter of handling the error of a missing file better.

@chrisbra
Owner

Should be fixed with revision: 68c7fae
Thanks for reporting!

@chrisbra chrisbra closed this
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.