mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 10:57:55 +00:00
20 lines
442 B
Nix
20 lines
442 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.debugprint = {
|
||
|
enable = true;
|
||
|
ignoreTreesitter = false;
|
||
|
};
|
||
|
};
|
||
|
}
|