From 70b56a6e872a8e20682dae2feab8658807d953ed Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 1 Mar 2024 15:15:33 +0530 Subject: [PATCH] add dap --- config/dap/dap.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config/dap/dap.nix diff --git a/config/dap/dap.nix b/config/dap/dap.nix new file mode 100644 index 0000000..fee3e7e --- /dev/null +++ b/config/dap/dap.nix @@ -0,0 +1,33 @@ +{ + plugins.dap = { + enable = true; + signs = { + dapBreakpoint = { + text = "●"; + texthl = "DapBreakpoint"; + }; + dapBreakpointCondition = { + text = "●"; + texthl = "DapBreakpointCondition"; + }; + dapLogPoint = { + text = "◆"; + texthl = "DapLogPoint"; + }; + }; + configurations = { + dap-python = { + enable = true; + }; + dap-ui = { + enable = true; + floating.mappings = { + close = ["" "q"]; + }; + }; + dap-virtual-text = { + enable = true; + }; + }; + }; +}