From ebee0042d860fa394f2894c32ff448283c9745ad Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 16 Jun 2024 21:36:18 +0200 Subject: [PATCH] nvim: Fix correct workspace propagation for python env --- nvim/.config/nvim/lua/core/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/core/util.lua b/nvim/.config/nvim/lua/core/util.lua index 1e81da0..63b9c9d 100644 --- a/nvim/.config/nvim/lua/core/util.lua +++ b/nvim/.config/nvim/lua/core/util.lua @@ -38,7 +38,7 @@ function T.set_python_env(workspace) if not base then return end - vim.g["python3_host_prog"] = vim.fn.expand(require("core.util").get_python_venv_bin()) + vim.g["python3_host_prog"] = vim.fn.expand(require("core.util").get_python_venv_bin(workspace)) vim.env.PATH = base .. "/bin:" .. p end function T.get_python_venv_bin(workspace)