nixvimConfigs/fiesta/setups/qol: init

This commit is contained in:
Gabriel Arazas 2024-11-15 18:23:34 +08:00
parent cde957a97d
commit 4b52f7e4d2
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 27 additions and 2 deletions

View File

@ -14,6 +14,7 @@
fuzzy-finder.enable = true;
debugging.enable = true;
desktop-utils.enable = true;
qol.enable = true;
};
# Some general settings.
@ -46,7 +47,5 @@
options.desc = "Delete current buffer";
}
];
plugins.nvim-autopairs.enable = true;
};
}

View File

@ -8,6 +8,7 @@
./setups/lsp.nix
./setups/note-taking.nix
./setups/snippets
./setups/qol.nix
./setups/treesitter.nix
./setups/ui.nix
];

View File

@ -0,0 +1,25 @@
{ config, lib, helpers, ... }:
let
nixvimCfg = config.nixvimConfigs.fiesta;
cfg = nixvimCfg.setups.devenvs;
in
{
options.nixvimConfigs.fiesta.setups.qol.enable =
lib.mkEnableOption "quality-of-life improvements";
config = lib.mkIf cfg.enable {
plugins.mini = {
enable = true;
modules = {
ai = {
n_lines = 50;
search_method = "cover_or_next";
};
surround = { };
align = { };
bracketed = { };
};
};
};
}