mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
nixvimConfigs/fiesta/setups/qol: init
This commit is contained in:
parent
cde957a97d
commit
4b52f7e4d2
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
./setups/lsp.nix
|
||||
./setups/note-taking.nix
|
||||
./setups/snippets
|
||||
./setups/qol.nix
|
||||
./setups/treesitter.nix
|
||||
./setups/ui.nix
|
||||
];
|
||||
|
25
configs/nixvim/fiesta/modules/setups/qol.nix
Normal file
25
configs/nixvim/fiesta/modules/setups/qol.nix
Normal 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 = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user