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

VIM plugins stage takes three hours or more #85

Open
dheerajchand opened this issue Mar 17, 2022 · 8 comments
Open

VIM plugins stage takes three hours or more #85

dheerajchand opened this issue Mar 17, 2022 · 8 comments

Comments

@dheerajchand
Copy link

Hi,

I have been on the "install vim plugins" stage for three hours on a reasonably fast connection. Is this expected behaviour? Is it possible to add output to the process so I can what it's doing, if it's falling, etc.?

 ~  ping www.google.com                                   ✔  2938  12:23:21
PING www.google.com (142.251.45.68): 56 data bytes
64 bytes from 142.251.45.68: icmp_seq=0 ttl=115 time=15.320 ms
64 bytes from 142.251.45.68: icmp_seq=1 ttl=115 time=20.752 ms
64 bytes from 142.251.45.68: icmp_seq=2 ttl=115 time=11.674 ms
^C
--- www.google.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.674/15.915/20.752/3.730 ms
@atomantic
Copy link
Owner

definitely should not take very long at all. Try just running this: vim +PluginInstall +qall, just removing the output redirection here: https://github.com/atomantic/dotfiles/blob/main/install.sh#L272

@dheerajchand
Copy link
Author

To be clear, I run that command from the same directory in which install.sh lives, T/F?

@atomantic
Copy link
Owner

should be able to run that vim command from anywhere

@dheerajchand
Copy link
Author

Is this expected behaviour?

~  vim +PluginInstall +qall  ✔  2945  12:49:35
Error detected while processing /Users/dheerajchand/.dotfiles/homedir/.vim/bundle/vim-fugitive/plugin/fugitive.vim:
line 470: E1208: -complete used without allowing argumentsline 471: E1208: -complete used without allowing argumentsline 475: E1208: -complete used without allowing argumentsline 478: E1208: -complete used without allowing argumentsError detected while processing /Users/dheerajchand/.dotfiles/homedir/.vim/bundle/vim-esformatter/plugin/esformatter.vim:
line 111: E1208: -complete used without allowing argumentsline 112: E1208: -complete used without allowing argumentsPress ENTER or type command to continue

@atomantic
Copy link
Owner

What do you get with vim +PluginList? I've updated my plugins and they appear to be ok on my end....
You could try commenting out some of these plugin lines to see if it's something particular with particular plugins like vim-fugitive: https://github.com/atomantic/dotfiles/blob/main/homedir/.vimrc#L34

@dheerajchand
Copy link
Author

Error detected while processing /Users/dheerajchand/.dotfiles/homedir/.vim/bundle/vim-fugitive/plugin/fugitive.vim:
line  470: E1208: -complete used without allowing argumentsline  471: E1208: -complete used without allowing argumentsline  475: E1208: -complete used without allowing argumentsline  478: E1208: -complete used without allowing argumentsError detected while processing /Users/dheerajchand/.dotfiles/homedir/.vim/bundle/vim-esformatter/plugin/esformatter.vim:
line  111: E1208: -complete used without allowing argumentsline  112: E1208: -complete used without allowing argumentsPress ENTER or type command to continue```
<img width="942" alt="Screen Shot 2022-04-04 at 12 14 34 PM" src="https://user-images.githubusercontent.com/482844/161596661-eab81b9f-656e-4a4f-b3ae-16d5bb14be71.png">

@atomantic
Copy link
Owner

maybe try changing the .vimrc to remove Fugitive and then do: vim +PluginClean -- seems something is wrong with Fugitive...

@atomantic
Copy link
Owner

looks like this error is identified as out of date fugitive: tpope/vim-fugitive#1848

Maybe try force-killing vim-fugitive and reinstall:

rm -rf ~/.vim/bundle/vim-fugitive
vim +PluginInstall +qall

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

2 participants