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
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue