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