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

On new plugin install, display gets stuck on "Cloning into..." #340

Closed
sts10 opened this issue Dec 1, 2015 · 38 comments
Closed

On new plugin install, display gets stuck on "Cloning into..." #340

sts10 opened this issue Dec 1, 2015 · 38 comments
Labels

Comments

@sts10
Copy link

sts10 commented Dec 1, 2015

I'm running Neovim on iTerm2. Neovim --version gives NVIM v0.1.0-144-gda9cf04 (compiled Nov 30 2015 20:54:54).

When I add a new plugin to my symlinked .vimrc and run :PlugInstall in Neovim, the new plugin installs successfully, but my displays ends up on the following:

Updated. Elapsed time: 1.231175 sec.
[================]

- Finishing ... Done!
- matchit: Already installed
- vim-ruby: Already installed
- vim-pasta: Already installed
- vim-vinegar: Already installed
- vim-smooth-scroll: Already installed
- vim-repeat: Cloning into '/Users/samschlinkert/.vim/plugged/vim-repeat'...
- goyo.vim: Already installed
- vim-move: Already installed
- supertab: Already installed
- tcomment_vim: Already installed
- vim-closer: Already installed
- vim-surround: Already installed
- vim-multiple-cursors: Already installed
- vim-sneak: Already installed
- ctrlp.vim: Already installed
- vim-visual-star-search: Already installed

Which to me looks like vim-plug got hung up trying to clone vim-repeat.

After running this :PlugInstall there is now a vim-repeat directory in my ~/.vim/plugged directory, and if I start Neovim again and run :PlugInstall again, is says - vim-repeat: Already installed, so I'm assuming it actually installed. But the display saying "Cloning..." that first time is a bit concerning. It feels like it should display something like "Installed successfully" if/when the new plugin is installed?

@kennykaye
Copy link

I am also experiencing the same issue running neovim.

NVIM 0.1.0 (compiled Nov 20 2015 23:05:07)
Build type: RelWithDebInfo
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -
Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/build
/config -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/src -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/deps-build/usr/include -I/tmp/neovim20151120-525
93-1cd7yaa/neovim-0.1.0/deps-build/usr/include -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/deps-build/usr/include/luajit-2.0 -I/tmp/neovim20151120-52593-
1cd7yaa/neovim-0.1.0/deps-build/usr/include -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/deps-build/usr/include -I/tmp/neovim20151120-52593-1cd7yaa/neovim
-0.1.0/deps-build/usr/include -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/deps-build/usr/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.a
pp/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/build/src/nvim/aut
o -I/tmp/neovim20151120-52593-1cd7yaa/neovim-0.1.0/build/include
Compiled by Kenny@kenny

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.0/share/nvim"

The following is where I get stuck in the installation process:

Updated. Elapsed time: 1.238787 sec.
[============================================]

- Finishing ... Done!
- delimitMate: Already installed
- indentLine: Already installed
- lightline.vim: Already installed
- vim-mustache-handlebars: Already installed
- vim-snippets: Already installed
- vim-rails: Already installed
- javascript-libraries-syntax.vim: Already installed
- nerdtree: Already installed
- ultisnips: Already installed
- syntastic: Already installed
- vim-jsdoc: Already installed
- tagbar: Already installed
- vim-ags: Already installed
- vim-easy-align: Already installed
- tern_for_vim: Already installed
- vim-cpp-enhanced-highlight: Already installed
- scss-syntax.vim: Already installed
+ YouCompleteMe: Cloning into 'third_party/OmniSharpServer'...
- vim-repeat: Already installed
- vim-commentary: Already installed
- goyo.vim: Already installed
- vim-obsession: Already installed
- limelight.vim: Already installed

@starcraftman
Copy link
Collaborator

@sts10 & @kennykaye I just want to confirm, you are in fact fully starting neovim then doing a command like PlugInstall to get this? I just ask this to ensure you aren't using the python installer which we've hooked up for starting commands. The latter would require a different investigation naturally.

If that's the case then I'm not sure what the issue is, ran some trials and neovim installers seems well behaved. for me on Linux @vheon Do you mind testing latest nvim on iterm just to see if its a mac issue?

@sts10
Copy link
Author

sts10 commented Dec 4, 2015

Not at my machine atm, but I can tell you I'm running OS X (Yosemite I'm pretty sure), and I do not have a Python installer, nor have I installed YouCompleteMe or the necessary Python stuff to do that. I just fire up nvim from iTerm2 (nightly) and run :PlugInstall.

I'll re-install to latest Neovim version and do this again tonight and see it if it's still happening. Thanks for your response!

@junegunn
Copy link
Owner

junegunn commented Dec 5, 2015

I was unable to reproduce the exact problem on nvim 0.1.0 on el capitan (brew install neovim/neovim/neovim). Though PlugUpdate seems to output several lines concatenated for each plugin which is not what we intended.

  • PlugInstall
    pluginstall
  • PlugUpdate
    plugupdate

/cc @tarruda

@tarruda
Copy link

tarruda commented Dec 5, 2015

@junegunn can you see if this issue is related and helps?

junegunn added a commit that referenced this issue Dec 5, 2015
@junegunn
Copy link
Owner

junegunn commented Dec 5, 2015

@tarruda Yes, it was related and I noticed that nvim installer needed update. Thanks!

@sts10 @kennykaye I'm not completely sure if the fix above is related to the issue you're having (it's strange that the installer finished without updating the line starting with + in @kennykaye's comment), but please update and see if it helps.

@sts10
Copy link
Author

sts10 commented Dec 5, 2015

Just checked-- I've got OS X 10.10.5.

Just now I ran brew update then brew reinstall --HEAD neovim, as I usually do to update Neovim:

NVIM v0.1.1 (compiled Dec  5 2015 16:08:55)
Build type: Dev
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim20151205-6390-1i8rrhe/build/config -I/tmp/neovim20151205-6390-1i8rrhe/src -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include/luajit-2.0 -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim20151205-6390-1i8rrhe/build/src/nvim/auto -I/tmp/neovim20151205-6390-1i8rrhe/build/include
Compiled by samschlinkert@Samuels-MacBook-Air.local

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD/share/nvim"

Then, after firing up Neovim, I ran :PlugUpgrade. Then I ran through the following steps. Hope they're helpful:

I started by commenting out Plug 'tmhedberg/matchit' in my symlinked .vimrc, restarting Neovim, and running :PlugClean. That seems to have worked as expected:

Searching for unused plugins in /Users/samschlinkert/.vim/plugged
[===============]

- /Users/samschlinkert/.vim/plugged/matchit/
Removed.

I also confirmed that there was no longer a directory for matchit in ~/.vim/plugged.

Back to my .vimrc to put the line Plug 'tmhedberg/matchit' back in (uncomment it). I saved the file, quit and restarted Neovim, then ran :PlugInstall. Still seeing this:

Updated. Elapsed time: 2.250007 sec.
[================]

- Finishing ... Done!
- matchit: Cloning into '/Users/samschlinkert/.vim/plugged/matchit'...
- vim-ruby: Already installed
- vim-pasta: Already installed
- vim-vinegar: Already installed
- vim-smooth-scroll: Already installed
- vim-repeat: Already installed
- goyo.vim: Already installed
- vim-move: Already installed
- supertab: Already installed
- tcomment_vim: Already installed
- vim-closer: Already installed
- vim-surround: Already installed
- vim-multiple-cursors: Already installed
- vim-sneak: Already installed
- ctrlp.vim: Already installed
- vim-visual-star-search: Already installed

After this I used rm to remove .vim/autoload/plug.vim and plug.old.vim, re-installed plug-vim with the curl command, and repeated the whole process above. I got the same output from :PlugInstall: - matchit: Cloning into '/Users/samschlinkert/.vim/plugged/matchit'....

Then, thinking maybe my test was flawed if :PlugClean hadn't fully uninstalled the matchit plugin, I added Plug 'scrooloose/syntastic', a plugin I'm pretty sure I've never installed before, and ran :PlugInstall but I still got - syntastic: Cloning into '/Users/samschlinkert/.vim/plugged/syntastic'...

Lastly (and this may help) I did the test using MacVim (version 7.4 (82)) and got the same output.

One thing to note is that these lines with "Cloning" start with a - for me, rather than a +, as @kennykaye describes. Not sure if that means we have different problems or not.

Also I have RVM installed. I know you have to install vim using system Ruby to use vim-plug, so I ran rvm use system then re-installed Neovim and did the test again, but that didn't change anything.

@junegunn
Copy link
Owner

junegunn commented Dec 6, 2015

@sts10 Can you test again with this small patch for debugging?

diff --git a/plug.vim b/plug.vim
index aacd369..c639238 100644
--- a/plug.vim
+++ b/plug.vim
@@ -903,6 +903,7 @@ function! s:job_handler(job_id, data, event) abort
   endif

   if a:event == 'stdout'
+    echom string([self.name, a:data])
     let complete = empty(a:data[-1])
     let lines = map(filter(a:data, 'len(v:val) > 0'), 'split(v:val, "[\r\n]")[-1]')
     call extend(self.lines, lines)
  • Apply the path
patch < <(curl https://gist.githubusercontent.com/junegunn/345f482febadc832aa8b/raw/3cec746621f4caa2e4f394418a6232a15eb14063/plug-echom.patch)
  • Start vim and
    • :redir > /tmp/log
    • :PlugUpdate
    • :redir END
    • And show us the content of /tmp/log

@sts10
Copy link
Author

sts10 commented Dec 6, 2015

Cool never done this before.

I pasted patch < <(curl https://gist.githubusercontent.com/junegunn/345f482febadc832aa8b/raw/3cec746621f4caa2e4f394418a6232a15eb14063/plug-echom.patch) into my terminal and hit and enter. I then got a prompt asking me for a File to patch. Output is below:

$ patch < <(curl https://gist.githubusercontent.com/junegunn/345f482febadc832aa8b/raw/3cec746621f4caa2e4f394418a6232a15eb14063/plug-echom.patch)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-100   398  100   398    0     0    441      0 --:--:-- --:--:-- --:--:--   440
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/plug.vim b/plug.vim
|index aacd369..c639238 100644
|--- a/plug.vim
|+++ b/plug.vim
--------------------------
File to patch:

Should I enter ~/.vim/autoload/plug.vim?

@junegunn
Copy link
Owner

junegunn commented Dec 6, 2015

@sts10 Ah, sorry for not being obvious. Execute the command in the directory where plug.vim is located. Since you're testing neovim, cd ~/.config/nvim/autoload

@sts10
Copy link
Author

sts10 commented Dec 6, 2015

Got it. Here's the result of running the patch line:

patch < <(curl https://gist.githubusercontent.com/junegunn/345f482febadc832aa8b/raw/3cec746621f4caa2e4f394418a6232a15eb14063/plug-echom.patch)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   398  100   398    0     0    521      0 --:--:-- --:--:-- --:--:--   521
patching file plug.vim
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 903 with fuzz 1.

And here is /tmp/log and :PlugUpdate:



"[Plugins]" [Not edited] --No lines in buffer--
Error detected while processing function <SNR>2_update..<SNR>2_update_impl..<SNR>2_prepare:
line   19:
E31: No such mapping
Error detected while processing function <SNR>2_update..<SNR>2_update_impl..<SNR>2_prepare:
line   20:
E31: No such mapping
Error detected while processing function <SNR>2_update..<SNR>2_update_impl..<SNR>2_prepare:
line   21:
E31: No such mapping
Error detected while processing function <SNR>2_update..<SNR>2_update_impl..<SNR>2_prepare:
line   22:
E31: No such mapping
['vim-closer', ['Already up-to-date.', '']]
['vim-visual-star-search', ['Already up-to-date.', '']]
['ctrlp.vim', ['Already up-to-date.', '']]
['vim-multiple-cursors', ['Already up-to-date.', '']]
['vim-sneak', ['From https://github.com/justinmk/vim-sneak', '  ...+++-----', ' 1 file changed, 5 insertions(+), 5 deletions(-)', '']]
['supertab', ['Already up-to-date.', '']]
['seoul256.vim', ['Already up-to-date.', '']]
['vim-move', ['Already up-to-date.', '']]
['goyo.vim', ['Already up-to-date.', '']]
['vim-surround', ['Already up-to-date.', '']]
['vim-pasta', ['Already up-to-date.', '']]
['tcomment_vim', ['From https://github.com/tomtom/tcomment_vim', '   f5ca095..e84b362  master     -> origin/master', '']]
['tcomment_vim', ['Updating f5ca095..e84b362', 'Fast-forward', '']]
['tcomment_vim', [' autoload/tcomment.vim | 35 +++++++++++++++++...------', ' 1 file changed, 20 insertions(+), 15 deletions(-)', '']]
['vim-repeat', ['Already up-to-date.', '']]
['vim-vinegar', ['Already up-to-date.', '']]
['vim-ruby', ['Already up-to-date.', '']]
['vim-smooth-scroll', ['Already up-to-date.', '']]
['matchit', ['Already up-to-date.', '']]
Error detected while processing function <SNR>2_job_handler..<SNR>2_tick..<SNR>2_update_finish..<SNR>2_finish..plug#helptags:
line    7:
E154: Duplicate tag "closer" in file /Users/samschlinkert/.vim/plugged/vim-closer//doc/closer.txt
Error detected while processing function <SNR>56_BMShow:
line   12:
E329: No menu "&Buffers"
Error detected while processing function <SNR>56_BMShow:
line   14:
E328: Menu only exists in another mode
Press 'D' to see the updated changes.

I'm happy to do the same process for :PlugInstall, which is where I get the "Cloning..." thing.

@junegunn
Copy link
Owner

junegunn commented Dec 6, 2015

@sts10 Thanks, but :PlugUpdate also installs missing plugins so it should be essentially the same as :PlugInstall. Please remove some plugins and try :PlugInstall or :PlugUpdate so we can see what's going on when you get the output. By the way, which version of git do you have? git --version

@sts10
Copy link
Author

sts10 commented Dec 10, 2015

Sorry for the delay. I think I did it right and this is /tmp/log:



"[Plugins]" [Not edited] --No lines in buffer--
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   19:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   20:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   21:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   22:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_update_vim..<SNR>2_tick..<SNR>2_update_finish..<SNR>2_finish..plug#helptags:
line    7:
E154: Duplicate tag "closer" in file /Users/samschlinkert/.vim/plugged/vim-closer//doc/closer.txt




"[Plugins]" [Not edited] --No lines in buffer--
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   19:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   20:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   21:
E31: No such mapping
Error detected while processing function <SNR>2_install..<SNR>2_update_impl..<SNR>2_prepare:
line   22:
E31: No such mapping
['matchit', ['Cloning into ''/Users/samschlinkert/.vim/plugged/matchit''...', '']]
Error detected while processing function <SNR>2_job_handler..<SNR>2_tick..<SNR>2_update_finish..<SNR>2_finish..plug#helptags:
line    7:
E154: Duplicate tag "closer" in file /Users/samschlinkert/.vim/plugged/vim-closer//doc/closer.txt

Note that before doing this I updated both Neovim and vim-plug. nvim --version now gives:

NVIM v0.1.1-10-g87abe07 (compiled Dec  9 2015 22:40:16)
Commit: 87abe073d9dba06fa39adb95968ea02d1059be80
Build type: Dev

Also my git --version is: git version 2.4.9 (Apple Git-60)

@junegunn
Copy link
Owner

@sts10
Hmm, thanks. So the message shows that Cloning into '/Users/samschlinkert/.vim/plugged/matchit'... was the only message from the git process.

Then, what do you see when you manually execute the following clone command?

git clone --depth 1 --no-single-branch --progress --recursive https://github.com/tmhedberg/matchit.git -b master /tmp/matchit

@sts10 sts10 closed this as completed Dec 10, 2015
@sts10 sts10 reopened this Dec 10, 2015
@sts10
Copy link
Author

sts10 commented Dec 10, 2015

Whoops-- accidentally closed the issue. I'll try that manual git command tonight if I have time.

@sts10
Copy link
Author

sts10 commented Dec 11, 2015

When I run

git clone --depth 1 --no-single-branch --progress --recursive https://github.com/tmhedberg/matchit.git -b master /tmp/matchit

I get:

Cloning into '/tmp/matchit'...
remote: Counting objects: 65, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 65 (delta 17), reused 65 (delta 17), pack-reused 0
Unpacking objects: 100% (65/65), done.
Checking connectivity... done.

Sorry this is proving pesky-- hope it's not just something peculiar to my setup!

@junegunn
Copy link
Owner

So the git process does report the progress, but the lines are not passed to vim-plug as shown in the log you posted. This may not be something I can fix, it could be a Neovim issue.

@starcraftman
Copy link
Collaborator

@sts10 Have you considered making an issue directly on neovim/neovim? They would probably be better able to support. Since the job isn't reporting the lines back, it seems likely the issue is with nvim. Still seems weird I've never had this happen though :/

@sts10
Copy link
Author

sts10 commented Dec 11, 2015

I can submit an issue to neovim/neovim, but when I saw this issue also happen for me using MacVim, I figured it wasn't specific to neovim, right?

@starcraftman
Copy link
Collaborator

@sts10 MacVim too eh? I missed that bit. Strange. Probably using the ruby installer in that case, means probably not nvim specific. Maybe some shell environmental messing up the capture.

I'm assuming in all cases you've been running nvim/vim/MacVim on ITerm. Can you try another shell like bash or zsh? Ensure you isolate your own user configurations (i.e. .zshrc, .bash_aliases, .bashrc) from being sourced to eliminate that as an issue. Then try the GUI/terminal programs a few times to see if you can replicate.

Otherwise, not sure what to say. :/

@sts10
Copy link
Author

sts10 commented Dec 11, 2015

OK no worries. Thank you so much for your time! I'll keep poking around-- probably some weirdness in .bash_profile.

Feel free to close or keep open this issue.

@junegunn
Copy link
Owner

Also check if there's anything suspicious in your ~/.gitconfig.

@sts10
Copy link
Author

sts10 commented Dec 11, 2015

Maybe one of these [core] settings, or one of the [alias]s are different/strange?

[core]
  whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
  excludesfile = /Users/samschlinkert/.gitignore
[alias]
  st = status
  ci = commit
  br = branch
  co = checkout
  df = diff
  lg = log -p

  hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short

  who = shortlog -s --
  up = pull
  pr = pull --rebase
  pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
  switch = !legit switch \"$@\"
  branches = !legit branches
  sprout = !legit sprout \"$@\"
  unpublish = !legit unpublish \"$@\"
  harvest = !legit harvest \"$@\"
  sync = !legit sync \"$@\"
  publish = !legit publish \"$@\"
  graft = !legit graft \"$@\"

@YuMan-Tam
Copy link

@starcraftman

I have exactly the same issue on Macvim. But after setting g:plug_threads to 1, the issue is resolved.

@g-sam
Copy link

g-sam commented May 18, 2016

I was having this problem on Macvim as well (OSX 10.8.5). The cloning message would remain and Macvim would crash. After setting g:plug_threads to 1, Macvim no longer crashes but the cloning message is still not cleared.

@astyagun
Copy link

Seems like I have a somewhat related problem. Each time I install a new plugin I see this:

_plugins__-_____-_vim1

Thankfully all works works well after a retry (R key):

_plugins__-_____-_vim1

@astyagun
Copy link

Actually it's doesn't happen every time. https://github.com/tmhedberg/matchit was installed successfully. But it persists for some plugins, like https://github.com/mybuddymichael/vim-hexhighlight.

@junegunn
Copy link
Owner

@astyagun I can't reproduce the problem with the latest macvim. Do you have anything in your gitconfig that might affect the process?

@astyagun
Copy link

@junegunn it doesn't seem like it. I've tried cloning with git directly. And then tried reinstalling that plugin from Vim again.

code_ _astyagun_mbp____ _-zsh_ _zsh_ _80x24_ __plugins__-_____vim_config__-_vim

Git alone worked fine, but the glitch is still present in Vim.

let g:plug_threads = 1 fixes it.

@junegunn
Copy link
Owner

@astyagun What is the :version? Have you tried upgrading your macvim?

@astyagun
Copy link

@junegunn It says, that it's the most recent version already.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 16 2017 04:51:36)
MacOS X (unix) version
Included patches: 1-329

@astyagun
Copy link

The vim-plug is upgraded as well

@junegunn
Copy link
Owner

@astyagun Okay, can you check the exit status (echo $?) of git clone command for the plugin?

@astyagun
Copy link

@junegunn

code_ _astyagun_mbp____ _-zsh_ _zsh_ _80x24_ _re___junegunn_vim-plug__on_new_plugin_install__display_gets_stuck_on__cloning_into_______340__ _gmail__all_mail_

0

@junegunn
Copy link
Owner

@astyagun Hmm, then I have no clue, I can't reproduce no matter how many times I try. Please let me know if you find out the reason.

@astyagun
Copy link

I've spent some time debugging this behavior of vim-plug. Will post what I've found just in case more people have this problem and it makes sense to continue the investigation.

Adding this code:

diff --git a/plug.vim.orig b/plug.vim
index 7819a5a..75496db 100644
--- a/plug.vim.orig
+++ b/plug.vim
@@ -1150,6 +1150,7 @@ endfunction
 function! s:job_exit_cb(self, data) abort
   let a:self.running = 0
   let a:self.error = a:data != 0
+  echom a:data
   call s:reap(a:self.name)
   call s:tick()
 endfunction

I get the number 128 in :messages. After adding let g:plug_url_format = 'git@github.com:%s.git' to .vimrc the number becomes 141. This article may describe something related, but I'm not sure.

@janlazo
Copy link
Collaborator

janlazo commented Oct 24, 2019

Is this reproducible on nvim-0.4.2 or newer?

@janlazo
Copy link
Collaborator

janlazo commented Dec 6, 2019

Closing due to inactivity

@janlazo janlazo closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants