From 2b592e82adf2421f2ff6cf23e5c5f366e68b922e Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Tue, 31 Jan 2023 20:45:10 +0100 Subject: [PATCH] fixed path for venv --- lua/plugins/dap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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