Bram Moolenaar wrote:

Charles E Campbell wrote:

Sigh -- I'm not sure what to do about this one.  Turns out that:

 com! ... -complete=dir Explore ...

causes the E77 with "Too many file names". Simply removing the "-complete=dir"
from the command fixes things.

You have  -nargs=?  which means only 0 or 1 arguments are allowed.
Perhaps you want to use  -nargs=* .

Yes -- that works! I don't mind having Explore ignore any "extra" strings. Who knows, maybe I'll find a use for it...

Regards,
Chip Campbell

Reply via email to