diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 00:16:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 00:16:50 +0800 |
commit | 8c6f97bef89da6ad8bde8f935d9983f25b5c59bd (patch) | |
tree | b6f57b764e82bc7e636e5514c759d28a37fb440b | |
parent | 2e2101cf7b0e4a70f5670d9d1317860a47bb8385 (diff) | |
download | rneovim-8c6f97bef89da6ad8bde8f935d9983f25b5c59bd.tar.gz rneovim-8c6f97bef89da6ad8bde8f935d9983f25b5c59bd.tar.bz2 rneovim-8c6f97bef89da6ad8bde8f935d9983f25b5c59bd.zip |
fix(health): properly use the value of $PYENV_VERSION (#23109)
-rw-r--r-- | runtime/lua/provider/health.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/provider/health.lua b/runtime/lua/provider/health.lua index a5fe14732c..de0729ab6b 100644 --- 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' })) |