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:
E499: Empty file name for '%' or '#', only works with ":p:h": ^Isil e! %
I will submit a fix shortly.
Do not call LocalSettings without having a filename.
Thanks! I'll look into it.
commit 15d93a9 should have fixed it
No, this happens on line 62 with the sil e! %.
sil e! %
Just try it:
Should work now with commit 90e1efe
Yes, this looks better.