Re: after updating vim to 8.3.3132, getting seven error messages (E1208)
Bram Moolenaar 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 MakeANtagscall 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_hAtbqJgQjJRiF%2BSusi3zY79SBbhrkLX7Kczi6pRsdkpg%40mail.gmail.com.
Re: after updating vim to 8.3.3132, getting seven error messages (E1208)
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. -- ** Hello and Welcome to the Psychiatric Hotline ** If you are obsessive-compulsive, please press 1 repeatedly. If you are co-dependent, please ask someone to press 2. If you have multiple personalities, please press 3, 4, 5 and 6. If you are paranoid-delusional, we know who you are and what you want - just stay on the line so we can trace the call. If you are schizophrenic, listen carefully and a little voice will tell you which number to press next. If you are manic-depressive, it doesn't matter which number you press - no one will answer. If you suffer from panic attacks, push every button you can find. If you are sane, please hold on - we have the rest of humanity on the other line and they desparately want to ask you a few questions. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202108041406.174E6AbT1045435%40masaka.moolenaar.net.
after updating vim to 8.3.3132, getting seven error messages (E1208)
Hello: 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. Chip Campbell -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/57fba502-d5f5-73cb-560e-204902abdd06%40drchip.org.