nvim: Fix correct workspace propagation for python env
This commit is contained in:
parent
b2c64a0925
commit
ebee0042d8
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function T.set_python_env(workspace)
|
||||||
if not base then
|
if not base then
|
||||||
return
|
return
|
||||||
end
|
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
|
vim.env.PATH = base .. "/bin:" .. p
|
||||||
end
|
end
|
||||||
function T.get_python_venv_bin(workspace)
|
function T.get_python_venv_bin(workspace)
|
||||||
|
|
Loading…
Reference in a new issue