treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -5,9 +5,11 @@
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.plugins.vim-bbye;
in {
in
{
options.plugins.vim-bbye = {
enable = mkEnableOption "vim-bbye";
@ -31,31 +33,24 @@ in {
};
config = mkIf cfg.enable {
extraPlugins = [cfg.package];
extraPlugins = [ cfg.package ];
keymaps = with cfg.keymaps;
keymaps =
with cfg.keymaps;
helpers.keymaps.mkKeymaps
{
mode = "n";
options.silent = cfg.keymapsSilent;
}
(
{
mode = "n";
options.silent = cfg.keymapsSilent;
}
(
optional
(bdelete != null)
{
(optional (bdelete != null) {
key = bdelete;
action = ":Bdelete<CR>";
}
)
++ (
optional
(bwipeout != null)
{
})
++ (optional (bwipeout != null) {
key = bwipeout;
action = ":Bwipeout<CR>";
}
)
);
})
);
};
}