mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 03:21:14 +00:00
22 lines
553 B
Nix
22 lines
553 B
Nix
{lib, ...}:
|
|
with lib; {
|
|
options.vim.debugger.nvim-dap = {
|
|
enable = mkEnableOption "Enable debugging via nvim-dap";
|
|
|
|
ui = {
|
|
enable = mkEnableOption "Enable UI extension for nvim-dap";
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Automatically Opens and Closes DAP-UI upon starting/closing a debugging session";
|
|
};
|
|
};
|
|
|
|
sources = mkOption {
|
|
default = {};
|
|
description = "List of debuggers to install";
|
|
type = with types; attrsOf string;
|
|
};
|
|
};
|
|
}
|