diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index 16c7747..b11f322 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -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