fixed path for venv

This commit is contained in:
2023-01-31 20:45:10 +01:00
parent 1792e54500
commit 2b592e82ad

View File

@ -131,7 +131,7 @@ return {
local jsonVenv = getVenvFromJson(cwd .. '/pyrightconfig.json')
if jsonVenv ~= nil then
return jsonVenv
return jsonVenv .. '/' .. getVenvSuffix()
end
if vim.fn.executable(cwd .. '/venv/' .. getVenvSuffix()) == 1 then