neovim/runtime/lua/vim/provider
Abao Zhang b4b4cf46a7 fix(health): fix pyenv root and python exepath detect issue
Fix the following two issues:

- pyenv root detection issue

When `PYENV_ROOT` environment variable is not set, neovim will detect
pyenv's root via `pyenv root` command, but which will be always fail
because `vim.fn.system()` returns result with additional `\n`. Using
`vim.system` instead prevents this problem. to trim it before check
whether it is exists

- python executable path detection issue

Filter unrelated `python-config` in cases where multiple python versions
are installed, e.g. `python-config`, `python3.10-config`,
`python3.11-config` etc.
2024-07-24 16:21:46 +02:00
..
health.lua fix(health): fix pyenv root and python exepath detect issue 2024-07-24 16:21:46 +02:00
perl.lua refactor: rewrite ruby provider in lua 2024-01-24 19:26:53 +01:00
python.lua refactor: rewrite ruby provider in lua 2024-01-24 19:26:53 +01:00
ruby.lua refactor: rewrite ruby provider in lua 2024-01-24 19:26:53 +01:00