mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
21 lines
501 B
Nix
21 lines
501 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
nixvimCfg = config.nixvimConfigs.fiesta;
|
|
cfg = nixvimCfg.setups.debugging;
|
|
in
|
|
{
|
|
options.nixvimConfigs.fiesta.setups.debugging.enable =
|
|
lib.mkEnableOption "debugging setup for Fiesta NixVim";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
plugins.dap.enable = true;
|
|
plugins.dap.extensions.dap-ui.enable = true;
|
|
plugins.dap.extensions.dap-virtual-text.enable = true;
|
|
plugins.debugprint = {
|
|
enable = true;
|
|
ignoreTreesitter = false;
|
|
};
|
|
};
|
|
}
|