neovim-flake/modules/debugger/nvim-dap/nvim-dap.nix

22 lines
553 B
Nix
Raw Normal View History

2023-05-04 17:41:11 +02: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 15:31:55 +02:00
autoStart = mkOption {
type = types.bool;
default = true;
description = "Automatically Opens and Closes DAP-UI upon starting/closing a debugging session";
};
2023-05-04 17:41:11 +02:00
};
2023-05-08 13:01:42 +02:00
sources = mkOption {
default = {};
description = "List of debuggers to install";
type = with types; attrsOf string;
};
2023-05-04 17:41:11 +02:00
};
}