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 }, }