summaryrefslogtreecommitdiff
path: root/ftplugin/python.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/python.lua')
-rw-r--r--ftplugin/python.lua2
1 files changed, 1 insertions, 1 deletions
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