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

E1208 error #645

Closed
basheewang opened this issue Jul 12, 2021 · 13 comments
Closed

E1208 error #645

basheewang opened this issue Jul 12, 2021 · 13 comments

Comments

@basheewang
Copy link

Got an error as below:

Error detected while processing /home/coeus/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:
line 77: E1208: -complete used without -nargs
Error detected while processing /home/coeus/.vim_runtime/sources_non_forked/vim-fugitive/plugin/fugitive.vim:
line 431: E1208: -complete used without -nargs
line 432: E1208: -complete used without -nargs
line 436: E1208: -complete used without -nargs
line 440: E1208: -complete used without -nargs
Press ENTER or type command to continue

and here is my vim version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 12 2021 12:01:34)
Included patches: 1-3154

@gbschenkel
Copy link

gbschenkel commented Jul 13, 2021

For me is just line 77on 02tlib.vim giving me problem. Previous I had none issue, i think i miss some python package which I had before. I have just commented out the line for stop complaining, just for now.

I can get one more issue but with fugitive.vim if I not run the python update_plugins.py command.

@basheewang
Copy link
Author

For me is just line 77on 02tlib.vim giving me problem. Previous I had none issue, i think i miss some python package which I had before. I have just commented out the line for stop complaining, just for now.

I can get one more issue but with fugitive.vim if I not run the python update_plugins.py command.

I updated the whole repo, and now only one error left which is same as yours.

@JakkuSakura
Copy link

I have the same problem after upgrading my vim

@mkapiczy
Copy link

Same started happening to me today while running vim:

Error detected while processing /Users/michal/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:
line   77: E1208: -complete used without -nargsError detected while processing /Users/michal/.vim_runtime/sources_non_forked/vim-fugitive/plugin/fugitive.vim:
line  431: E1208: -complete used without -nargsline  432: E1208: -complete used without -nargsline  436: E1208: -complete used without -nargsline  440: E1208: -complete used without -nargsPress ENTER or type command to continue

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 11 2021 17:44:18)

@f0lg0
Copy link

f0lg0 commented Jul 14, 2021

Got the same error too after a system update:

Error detected while processing /home/f0lg0/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:
line   77: E1208: -complete used without -nargsError detected while processing /home/f0lg0/.vim_runtime/sources_non_forked/vim-fugitive/plugin/fugitive.vim:
line  431: E1208: -complete used without -nargsline  432: E1208: -complete used without -nargsline  436: E1208: -complete used without -nargsline  440: E1208: -complete used without -nargsPress ENTER or type command to continue

@shudiwsh2009
Copy link

Got the same error. The problem is caused by the tlib_vim & vim_fugitive plugins instead of .vimrc file itself. It can be solved temporarily by removing the "-complete" arg of the lines that report errors. Details can be found in the following links:
tpope/vim-fugitive#1791
tpope/vim-fugitive@4cdeff8
https://github.com/tomtom/tlib_vim/pull/30/files

@SofijaErkin
Copy link

Thanks @basheewang, Great!

I also met VIM plugins error:

Error detected while processing /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:

line   77: E1208: -complete used without allowing arguments

fixed with:

cd /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/

git pull --rebase

Also, thanks @qiujiangkun!

@loban
Copy link

loban commented May 11, 2022

Tried @SofijaErkin 's fix, and it worked perfectly. Thanks!

@humengyu2012
Copy link

Thanks @basheewang, Great!

I also met VIM plugins error:

Error detected while processing /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:

line   77: E1208: -complete used without allowing arguments

fixed with:

cd /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/

git pull --rebase

Also, thanks @qiujiangkun!

It works for me, thanks.

@immissile
Copy link

Thanks @basheewang, Great!

I also met VIM plugins error:

Error detected while processing /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:

line   77: E1208: -complete used without allowing arguments

fixed with:

cd /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/

git pull --rebase

Also, thanks @qiujiangkun!

It works for me 2, thanks.

@jameswilson
Copy link

Leaving this here, for some reason my ~/.vim_runtime/.git/config configuration for the origin was set to git://github.com/amix/vimrc.git

This was causing me failures when trying to git pull.

I ran:

cd ~/.vim_runtime
git remote set-url origin git@github.com:amix/vimrc.git
git pull --rebase

And it all worked.

@makoshan
Copy link

Similar issue, resolved by updating tlib_vim

cd ~/.vim/bundle/tlib_vim/
git pull

@shenggaowei
Copy link

Thanks @basheewang, Great!
I also met VIM plugins error:

Error detected while processing /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:

line   77: E1208: -complete used without allowing arguments

fixed with:

cd /Users/yq/.vim_runtime/sources_non_forked/tlib/plugin/

git pull --rebase

Also, thanks @qiujiangkun!

It works for me, thanks.

it works,thank u

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