neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8c6f97bef89da6ad8bde8f935d9983f25b5c59bd
parent 2e2101cf7b0e4a70f5670d9d1317860a47bb8385
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sun, 16 Apr 2023 00:16:50 +0800

fix(health): properly use the value of $PYENV_VERSION (#23109)


Diffstat:
Mruntime/lua/provider/health.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/lua/provider/health.lua b/runtime/lua/provider/health.lua @@ -196,7 +196,7 @@ local function check_for_pyenv() info('pyenv: Path: ' .. pyenv_path) - local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve('$PYENV_ROOT') or '' + local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve(os.getenv('PYENV_ROOT')) or '' if is_blank(pyenv_root) then pyenv_root = vim.trim(system({ pyenv_path, 'root' }))