mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
fix(checkhealth): check outdated pynvim version properly #33175
Fixes #33174, a regression from #22962.
(cherry picked from commit e87d2ae383
)
This commit is contained in:
committed by
github-actions[bot]
parent
9056c01a95
commit
89e0ea1788
@ -564,7 +564,7 @@ local function version_info(python)
|
||||
|
||||
local nvim_path_base = vim.fn.fnamemodify(nvim_path, [[:~:h]])
|
||||
local version_status = 'unknown; ' .. nvim_path_base
|
||||
if is_bad_response(nvim_version) and is_bad_response(pypi_version) then
|
||||
if not is_bad_response(nvim_version) and not is_bad_response(pypi_version) then
|
||||
if vim.version.lt(nvim_version, pypi_version) then
|
||||
version_status = 'outdated; from ' .. nvim_path_base
|
||||
else
|
||||
|
Reference in New Issue
Block a user