Skip to content

Commit 0b80966

Browse files
committed
languages/zig: Added dap support cleanup
Cleaned up code from the zig dap implementation for consistency.
1 parent 115b740 commit 0b80966

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

modules/plugins/languages/zig.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,21 @@ in {
8989

9090
dap = {
9191
enable = mkOption {
92-
description = "Enable Zig Debug Adapter";
9392
type = bool;
9493
default = config.vim.languages.enableDAP;
94+
description = "Enable Zig Debug Adapter";
9595
};
96+
9697
debugger = mkOption {
97-
description = "Zig debugger to use";
9898
type = enum (attrNames debuggers);
9999
default = defaultDebugger;
100+
description = "Zig debugger to use";
100101
};
102+
101103
package = mkOption {
102-
description = "Zig debugger package.";
103104
type = package;
104105
default = debuggers.${cfg.dap.debugger}.package;
106+
description = "Zig debugger package.";
105107
};
106108
};
107109
};

0 commit comments

Comments
 (0)