mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -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>";
|
||||
}
|
||||
)
|
||||
);
|
||||
})
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue