From ebd55ecc5592c394404265ee31da3cc8b75d5951 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sat, 13 Aug 2022 19:18:09 +0200 Subject: [PATCH] correctly call getpythonenv --- lua/setup/my_dap.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/setup/my_dap.lua b/lua/setup/my_dap.lua index 4fdcc04..fda0de0 100644 --- a/lua/setup/my_dap.lua +++ b/lua/setup/my_dap.lua @@ -66,9 +66,7 @@ dap.configurations.python = { name = "Launch file with venv"; justMyCode = false; program = "${file}"; - pythonPath = function() - return getPythonEnv() - end; + pythonPath = getPythonEnv }, }