Giter VIP home page Giter VIP logo

Comments (5)

trevor-viljoen avatar trevor-viljoen commented on June 8, 2024 8

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

from janus.

HugoPoi avatar HugoPoi commented on June 8, 2024 7

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

from janus.

engineervix avatar engineervix commented on June 8, 2024 1

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/')

from janus.

equivalent avatar equivalent commented on June 8, 2024

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

from janus.

willfaught avatar willfaught commented on June 8, 2024

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

from janus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.