From a569128faac772d05648b07ec93206010f12bc3d Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 5 Jul 2021 10:36:01 -0400 Subject: only when dap install is active --- ftplugin/python.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ftplugin/python.lua') diff --git a/ftplugin/python.lua b/ftplugin/python.lua index 04fe2ded..d7db1977 100644 --- a/ftplugin/python.lua +++ b/ftplugin/python.lua @@ -76,5 +76,7 @@ if O.lang.python.autoformat then } end -local dap_install = require("dap-install") -dap_install.config("python_dbg", {}) +if O.plugin.dap_install.active then + local dap_install = require("dap-install") + dap_install.config("python_dbg", {}) +end -- cgit v1.2.3 From 279e01f2f35948afa185115b100254cd1496277b Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Mon, 5 Jul 2021 13:58:38 -0400 Subject: debugging updates --- ftplugin/python.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/python.lua') diff --git a/ftplugin/python.lua b/ftplugin/python.lua index d7db1977..62464397 100644 --- a/ftplugin/python.lua +++ b/ftplugin/python.lua @@ -76,7 +76,7 @@ if O.lang.python.autoformat then } end -if O.plugin.dap_install.active then +if O.plugin.debug.active and O.plugin.dap_install.active then local dap_install = require("dap-install") dap_install.config("python_dbg", {}) end -- cgit v1.2.3