summaryrefslogtreecommitdiff
path: root/common/home/programs/nixvim/plugins/dap.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/home/programs/nixvim/plugins/dap.nix')
-rw-r--r--common/home/programs/nixvim/plugins/dap.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/common/home/programs/nixvim/plugins/dap.nix b/common/home/programs/nixvim/plugins/dap.nix
new file mode 100644
index 0000000..88a3ae0
--- /dev/null
+++ b/common/home/programs/nixvim/plugins/dap.nix
@@ -0,0 +1,18 @@
+{ ... }:
+{
+ enable = true;
+ adapters = {
+ qemu = {
+ type = "server";
+ host = "localhost";
+ port = 1234,
+ };
+ };
+ configurations = {
+ zig = {
+ name = "Zig Qemu";
+ type = "qemu";
+ request: "attach";
+ };
+ };
+}