-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Neovim not updating or upgrading #111
Comments
Thanks for the report. I had the same error on But I can't reproduce the PlugUpdate error. Are you running the latest version of Neovim? And do you see errors on |
I have the version from the arch AUR, which was last packaged about a month ago, so that may be my issue. I'll check with the latest version. |
Using the latest version still gives me the bug. Here is an example of the output: Updated. Elapsed time: 0.084264 sec. - Finishing ... Done! |
I see. Do you see any errors in |
The above error messages are given when the following command inside git repository gives non-zero exit status. git rev-parse --abbrev-ref HEAD 2>&1 && git config remote.origin.url |
The commands give me: jonathan:nerdcommenter/ (master) $ git rev-parse --abbrev-ref HEAD 2>&1 && git config remote.origin.url After debugging a bit, the problem is coming from the s:git_valid function |
Thanks. I expected it since it works on normal Vim. I'm suspecting that :call system('cd ~/.vim/plugged/nerdcommenter && git rev-parse --abbrev-ref HEAD 2>&1 && git config remote.origin.url') | echo v:shell_error |
The v:shell_error seems to not be set. In one nvim instance, calling :PlugUpdate multiple times always gives a v:shell_error of -888693480. Opening another nvim results in 425680152. This may be an issue with neovim not setting v:shell_error after issuing a shell command. |
Occationally, the exit code will be 0, but most of the time it seems to be the undefined value. |
It clearly looks like an issue with Neovim. Until the issue is resolved, you can change line 889 to |
Thanks for reporting. For reference: neovim/neovim#1303 Also @junegunn thanks for working around the |
@jonathanmcelroy Can we close this? |
I think with the many changes to Neovim since, the bug has disappeared. Closing |
- restores behavior equivalent to Vim compiled without FEAT_MZSCHEME, etc. (avoids spurious "E492: Not an editor command: EOF") for code such as: ```vim if 0 perl << EOF end EOF endif ``` see :help script-here - fixes neovim#1308 - fixes junegunn/vim-plug#111
FYI, the problem worked around in 4b3fbd1 is now fixed in Neovim. |
Under normal vim, all the commands work as expected. However, when I execute :PlugUpgrade under neovim without any plug plugins installed, I get the error message:
When I execute :PlugUpgrade with plugins installed, I get the message:
When I run :PlugUpdate, all the plugins that aren't installed are downloaded correctly, but any plugin already install is marked with an 'x' and vim-plug asks me to clean them so it can reinstall them.
The text was updated successfully, but these errors were encountered: