mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-12 00:15:30 +00:00
languages/zig: Added dap support cleanup
Cleaned up code from the zig dap implementation for consistency.
This commit is contained in:
parent
115b740a2d
commit
0b8096683f
1 changed files with 5 additions and 3 deletions
|
|
@ -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.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue