nvf/modules/debugger/nvim-dap/nvim-dap.nix

22 lines
553 B
Nix
Raw Normal View History

2023-05-04 15:41:11 +00:00
{lib, ...}:
with lib; {
options.vim.debugger.nvim-dap = {
enable = mkEnableOption "Enable debugging via nvim-dap";
ui = {
enable = mkEnableOption "Enable UI extension for nvim-dap";
2023-05-05 13:31:55 +00:00
autoStart = mkOption {
type = types.bool;
default = true;
description = "Automatically Opens and Closes DAP-UI upon starting/closing a debugging session";
};
2023-05-04 15:41:11 +00:00
};
2023-05-08 11:01:42 +00:00
sources = mkOption {
default = {};
description = "List of debuggers to install";
type = with types; attrsOf string;
};
2023-05-04 15:41:11 +00:00
};
}