NeoVim errors
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
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 https://github.com/vim/vim/issues/8541
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 https://github.com/carlhuda/janus/issues/711#issuecomment-991671932 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
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/')
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
Got this error too. The fix also worked for me. Any chance we can get it checked in?