dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

VIM plugins stage takes three hours or more

Open dheerajchand opened this issue 2 years ago • 8 comments

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

dheerajchand avatar Mar 17 '22 18:03 dheerajchand

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

atomantic avatar Mar 18 '22 15:03 atomantic

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

dheerajchand avatar Mar 21 '22 17:03 dheerajchand

should be able to run that vim command from anywhere

atomantic avatar Mar 22 '22 16:03 atomantic

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

dheerajchand avatar Mar 23 '22 17:03 dheerajchand

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

atomantic avatar Mar 25 '22 13:03 atomantic

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">

dheerajchand avatar Apr 04 '22 17:04 dheerajchand

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

atomantic avatar Apr 04 '22 20:04 atomantic

looks like this error is identified as out of date fugitive: https://github.com/tpope/vim-fugitive/issues/1848

Maybe try force-killing vim-fugitive and reinstall:

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

atomantic avatar Apr 04 '22 20:04 atomantic