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 detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim #1791

Closed
pzygielo opened this issue Jul 14, 2021 · 11 comments

Comments

@pzygielo
Copy link

After upgrading vim to

$ rpm -qf /usr/bin/vim
vim-enhanced-8.2.3154-1.fc34.x86_64

I am getting

Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim:
line  527: E1208: -complete used without -nargsline  528: E1208: -complete used without -nargsline  532: E1208: -complete used without -nargsline  536: E1208: -complete used without -nargsPress ENTER or type command to continue
$ rpm -qf /usr/share/vim/vimfiles/plugin/fugitive.vim
vim-fugitive-3.3-1.fc34.noarch
$ vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 12 2021 00:00:00)
Included patches: 1-3154
@pzygielo pzygielo changed the title Awesome Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim Jul 14, 2021
@pzygielo pzygielo changed the title Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim E1208: Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim Jul 14, 2021
@tpope
Copy link
Owner

tpope commented Jul 14, 2021

This was a sudden upstream change in Vim that blindsided me. The fix is at 4cdeff8. It hasn't made it into a release yet. I'll try to cut one sooner rather than later but it will still take some time.

@tpope tpope closed this as completed Jul 14, 2021
@pzygielo
Copy link
Author

Thanks for checking. Glad to know it's already covered.

drmikehenry added a commit to drmikehenry/vimfiles that referenced this issue Aug 4, 2021
This fixes a Fugitive error with recent Vim; the error is ``E1208:
-complete used without -nargs``, as reported in
tpope/vim-fugitive#1791.
@tpope
Copy link
Owner

tpope commented Aug 20, 2021

Hoping to cut a release next week. To those who are able, please try master and keep an eye out for last minute bugs.

@tjmgregory
Copy link

You're a hero, thank you!

@tjmgregory
Copy link

This is my current experience with master 46404ad and Vim 8.2 (2019 Dec 12, compiled Aug 15 2021 13:04:41):

Error detected while processing /Users/theo/.vim/pack/theodored/start/coc.nvim/plugin/coc.vim:
line  461: E1208: -complete used without allowing argumentsPress ENTER or type command to continue

@baldurh
Copy link

baldurh commented Sep 2, 2021

master is working for me

@baldurh
Copy link

baldurh commented Sep 2, 2021

@tjmgregory see here neoclide/coc.nvim#3215

@tpope
Copy link
Owner

tpope commented Sep 2, 2021

It took a bit longer than expected because I developed a bad case of "one more thing", but Fugitive 3.4 is out! Now let's see how fast we can get it into package managers.

@tjmgregory
Copy link

@tjmgregory see here neoclide/coc.nvim#3215

My many apologies - a fried head swapping one error for another I'd missed the package name was different! Keep up the excellent work 💪 Thanks for the link!

@SofijaErkin
Copy link

Thanks @tpope, Great Job!

My vim plugins error while using vim ~/.vimrc:

Error detected while processing /Users/yq/.vim/bundle/vim-fugitive/plugin/fugitive.vim:

line  410: E1208: -complete used without allowing arguments

line  411: E1208: -complete used without allowing arguments

fixed with the below:

cd && cd /Users/yq/.vim/bundle/vim-fugitive/plugin/

git pull --rebase

Also, thanks @tjmgregory !

@ewoifuoi
Copy link

Thanks a lot@tpope, that saves me a lot of time

tomleesm added a commit to tomleesm/vimrc that referenced this issue Nov 26, 2022
git submodule update --init 後,啟動 vim 時因為 fugitive.vim 顯示錯誤訊息 E1208 Error detected while processing,  -complete used without no arguments
fugitive.vim 在 4cdeff8c33ec2fe0686324bf1846ce158c452754 (Jul 11, 2021) 修正 bug,但是 fugitive.vim 卻停在 2019 年的 commit
參考 tpope/vim-fugitive#1791
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

7 participants
@tpope @baldurh @tjmgregory @pzygielo @SofijaErkin @ewoifuoi and others