diff options
| author | Chris <[email protected]> | 2021-07-05 10:36:01 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-05 10:36:01 -0400 | 
| commit | a569128faac772d05648b07ec93206010f12bc3d (patch) | |
| tree | fcde1ca55002cc540b7b462e05a3a6ae5b2fc80c | |
| parent | b4a9023c9e531ad021cf9da7e701350f489aba45 (diff) | |
only when dap install is active
| -rw-r--r-- | ftplugin/python.lua | 6 | 
1 files changed, 4 insertions, 2 deletions
| 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 | 
