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=* .

-- 
Press any key to continue, press any other key to quit.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to