Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoVim errors #711

Open
slbug opened this issue Oct 25, 2021 · 5 comments
Open

NeoVim errors #711

slbug opened this issue Oct 25, 2021 · 5 comments

Comments

@slbug
Copy link

slbug commented Oct 25, 2021

Error detected while processing ~/.vim/janus/vim/tools/tlib/plugin/02tlib.vim:
line   77:
E1208: -complete used without -nargs
NVIM v0.6.0-dev+454-gee342d3ce
Build type: Release
LuaJIT 2.1.0-beta3
Features: +acl +iconv +tui
@HugoPoi
Copy link

HugoPoi commented Dec 11, 2021

Confirm, i fix it with

diff --git a/plugin/02tlib.vim b/plugin/02tlib.vim
index 9e7a4d6..6afbeed 100755
--- a/plugin/02tlib.vim
+++ b/plugin/02tlib.vim
@@ -74,7 +74,7 @@ command! -nargs=1 -complete=command TBrowseOutput call tlib#cmd#BrowseOutput(<q-
 "
 " EXAMPLES: >
 "   TBrowseScriptnames 
-command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
+command! -nargs=? -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
 
 
 " :display: :Tlibtrace GUARD, VAR1, VAR2...

I think it's related to this change vim/vim#8541

@equivalent
Copy link

equivalent commented Feb 24, 2022

hi, when I start vim I get this error:

Error detected while processing /Users/t/.vim/janus/vim/tools/tlib/plugin/02tlib.vim:
line   77: E1208: -complete used without allowing argumentsPress ENTER or type command to continue

I tried to update vim by cd ~/.vim && rake but didn't help

if I try what HugoPoi sugest in comment above #711 (comment)
I get error:


Error detected while processing /Users/t/.vim/janus/vim/tools/tlib/plugin/02tlib.vim:
line   77:
E488: Trailing characters: command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames(): #command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
Press ENTER or type command to continue

@engineervix
Copy link

Confirm, i fix it with

diff --git a/plugin/02tlib.vim b/plugin/02tlib.vim
index 9e7a4d6..6afbeed 100755
--- a/plugin/02tlib.vim
+++ b/plugin/02tlib.vim
@@ -74,7 +74,7 @@ command! -nargs=1 -complete=command TBrowseOutput call tlib#cmd#BrowseOutput(<q-
 "
 " EXAMPLES: >
 "   TBrowseScriptnames 
-command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
+command! -nargs=? -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
 
 
 " :display: :Tlibtrace GUARD, VAR1, VAR2...

I think it's related to this change vim/vim#8541

This worked for me on OpenSUSE Tumbleweed 20220306, Vim 8.2 (2019 Dec 12, Compiled by 'http://www.opensuse.org/')

@trevor-viljoen
Copy link

Confirm, i fix it with

diff --git a/plugin/02tlib.vim b/plugin/02tlib.vim
index 9e7a4d6..6afbeed 100755
--- a/plugin/02tlib.vim
+++ b/plugin/02tlib.vim
@@ -74,7 +74,7 @@ command! -nargs=1 -complete=command TBrowseOutput call tlib#cmd#BrowseOutput(<q-
 "
 " EXAMPLES: >
 "   TBrowseScriptnames 
-command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
+command! -nargs=? -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
 
 
 " :display: :Tlibtrace GUARD, VAR1, VAR2...

I think it's related to this change vim/vim#8541

I was getting this error on my Mac and the above fixed it for me.

Error detected while processing ~/.vim/janus/vim/tools/tlib/plugin/02tlib.vim:
line  109: E1208: -complete used without allowing argumentsPress ENTER or type command to continue

@willfaught
Copy link

Got this error too. The fix also worked for me. Any chance we can get it checked in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants