only when dap install is active

This commit is contained in:
Chris 2021-07-05 10:36:01 -04:00
parent b4a9023c9e
commit a569128faa

View file

@ -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