-
Notifications
You must be signed in to change notification settings - Fork 328
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
bug: external command not found in checkhealth #1599
Comments
The only issue here is that it returned Apart from that, there's something wrong with your installation. |
OK,I will find out my installation problem, thanks for you information. |
@folke Hi,I found that I use |
I think the issue has to do with whether the vim.fn.system argument is treated as a string or not which determines how/whether it is run in the shell. If it is passed in as {'git', '--version'} instead of 'git --version', it works. |
@michaelmelancon yes and that is what we do. |
It looks like the version check in health.lua, |
I've already changed it. Update your plugins. |
It is amazing how quick and responsive you are. |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-139+ga18652ed6
Operating system/version
windows 10
Describe the bug
when I execute "checkhealth lazy" in nvim with windows git-bash, it show "OK {git} /usr/bin/bash: line 1: git --version: command not found"
Steps To Reproduce
Expected Behavior
no error.
Repro
The text was updated successfully, but these errors were encountered: