From 7c427e2bbc72d46ea3c9602bede6465ef61b8c19 Mon Sep 17 00:00:00 2001 From: plied <73889536+plied@users.noreply.github.com> Date: Mon, 19 Aug 2024 19:21:55 +0100 Subject: [PATCH] Fix `default_runner` returning nil if pyproject.toml exists (#155) --- lua/dap-python.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/dap-python.lua b/lua/dap-python.lua index 5c4f993..4873b15 100644 --- a/lua/dap-python.lua +++ b/lua/dap-python.lua @@ -38,6 +38,7 @@ local function default_runner() end f:close() end + return 'unittest' else return 'unittest' end