languages/zig: Added dap support cleanup

Cleaned up code from the zig dap implementation for consistency.
This commit is contained in:
army castillo 2025-01-24 22:07:28 -05:00
commit 0b8096683f

View file

@ -89,19 +89,21 @@ in {
dap = {
enable = mkOption {
description = "Enable Zig Debug Adapter";
type = bool;
default = config.vim.languages.enableDAP;
description = "Enable Zig Debug Adapter";
};
debugger = mkOption {
description = "Zig debugger to use";
type = enum (attrNames debuggers);
default = defaultDebugger;
description = "Zig debugger to use";
};
package = mkOption {
description = "Zig debugger package.";
type = package;
default = debuggers.${cfg.dap.debugger}.package;
description = "Zig debugger package.";
};
};
};