Bram Moolenaar <[email protected]> wrote: > Charles Campbell wrote: > > > Error detected while processing /home/cec/.vim/plugin/AsNeededPlugin.vim: > > line 61: E1208: -complete used without -nargsline > > > > I certainly didn't get these before, nor do I know what -nargsline is. > > The relevant line: > > > > com! -nargs=0 -complete=command MakeANtags call AsNeeded#MakeANtags() > > > > OK, so what's -nargsline ? :he nargsline shows nothing. Doing a grep > > nargsline over the entire .vim/doc directory's *.txt files shows: nothing. > > The error message is "E1208: -complete used without -nargs". > Not sure why "line" got appended there. > > This was a change where we knew that some badly written plugins would > get this error message. While otherwise users are pointed out that > their "-complete" argument won't work because there is nothing to > complete. This only happens in Vim9 scripts. > > Perhaps the error message is confusing, because there is a -nargs > argument, but it's zero? We could mention "arguments" instead of > "-nargs". > > I suggest you remove that "-complete" argument and perhaps let the > author of the plugin know about it.
I suppose that it's this plugin https://www.vim.org/scripts/script.php?script_id=915 which is created by Charles Campbell. Regards Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_hAtbqJgQjJRiF%2BSusi3zY79SBbhrkLX7Kczi6pRsdkpg%40mail.gmail.com.
