فهرست منبع

only when dap install is active

Chris 4 سال پیش
والد
کامیت
a569128faa
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      ftplugin/python.lua

+ 4 - 2
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