master #1

Open
oli wants to merge 912 commits from master into lua
Showing only changes of commit 56797a2564 - Show all commits

View File

@@ -47,6 +47,10 @@ local function getPythonEnv()
if venv ~= nil then if venv ~= nil then
return string.format("%s/%s", venv, getVenvSuffix()) return string.format("%s/%s", venv, getVenvSuffix())
end end
local conda = os.getenv("CONDA_PREFIX")
if conda ~= nil then
return string.format("%s/%s", conda, 'python.exe')
end
local cwd = vim.fn.getcwd() local cwd = vim.fn.getcwd()
if vim.fn.executable(cwd .. '/venv/' .. getVenvSuffix()) == 1 then if vim.fn.executable(cwd .. '/venv/' .. getVenvSuffix()) == 1 then