aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/provider/python/health.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/provider/python/health.lua')
-rw-r--r--runtime/lua/provider/python/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/provider/python/health.lua b/runtime/lua/provider/python/health.lua
index 7fc4006fc8..0b6edf5b42 100644
--- a/runtime/lua/provider/python/health.lua
+++ b/runtime/lua/provider/python/health.lua
@@ -35,7 +35,7 @@ local function check_for_pyenv()
health.info('pyenv: Path: ' .. pyenv_path)
- local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve('$PYENV_ROOT') or ''
+ local pyenv_root = vim.fn.resolve(os.getenv('PYENV_ROOT') or '')
if pyenv_root == '' then
pyenv_root = vim.fn.system({ pyenv_path, 'root' })