mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 00:19:12 +00:00
nixvimConfigs/fiesta/setups/debugging: init
This commit is contained in:
parent
5a00407f54
commit
523f64b794
@ -6,6 +6,7 @@
|
||||
|
||||
nixvimConfigs.fiesta.setups = {
|
||||
treesitter.enable = true;
|
||||
debugging.enable = true;
|
||||
desktop-utils.enable = true;
|
||||
};
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./setups/debugging.nix
|
||||
./setups/desktop-utils.nix
|
||||
./setups/treesitter.nix
|
||||
];
|
||||
|
19
configs/nixvim/fiesta/modules/setups/debugging.nix
Normal file
19
configs/nixvim/fiesta/modules/setups/debugging.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user