aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/diagnostic.lua
diff options
context:
space:
mode:
authorAbao Zhang <abaodoit@gmail.com>2024-07-17 14:07:20 +0800
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-07-24 16:21:46 +0200
commitb4b4cf46a7a2b6d7b4e997179166444b0e338ac8 (patch)
tree5559d82d3cda298b9fe65b64da262d46752c4230 /runtime/lua/vim/diagnostic.lua
parentb02c83941493db79e4ab7ba23adb665d4528f791 (diff)
downloadrneovim-b4b4cf46a7a2b6d7b4e997179166444b0e338ac8.tar.gz
rneovim-b4b4cf46a7a2b6d7b4e997179166444b0e338ac8.tar.bz2
rneovim-b4b4cf46a7a2b6d7b4e997179166444b0e338ac8.zip
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.
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions