chrisbra/SudoEdit.vim — Issue #7: E499: Empty file name for '%' or '#', only works with ":p:h": ^Isil e! %
Author: blueyed
Created: 2011-12-06 20:58:50+00:00
State: open

I am getting the following error when trying to `:SudoWrite` without a filename:

Cannot write file. Please enter filename for writing!
Error detected while processing function SudoEdit#SudoDo..SudoEdit#LocalSettings:
line 13:
E499: Empty file name for '%' or '#', only works with ":p:h": ^Isil e! %

I will submit a fix shortly.