mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
plugins/octo: add snacks picker to picker options
The snacks picker is also a valid choice now:
631776a36c/lua/octo/config.lua (L418)
This commit is contained in:
parent
3a3abf1170
commit
33097dcf77
2 changed files with 18 additions and 0 deletions
|
@ -124,6 +124,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
[
|
[
|
||||||
"telescope"
|
"telescope"
|
||||||
"fzf-lua"
|
"fzf-lua"
|
||||||
|
"snacks"
|
||||||
]
|
]
|
||||||
''
|
''
|
||||||
Picker to use.
|
Picker to use.
|
||||||
|
@ -182,5 +183,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
plugins.telescope.enable = lib.mkDefault true;
|
plugins.telescope.enable = lib.mkDefault true;
|
||||||
})
|
})
|
||||||
(lib.mkIf (cfg.settings.picker == "fzf-lua") { plugins.fzf-lua.enable = lib.mkDefault true; })
|
(lib.mkIf (cfg.settings.picker == "fzf-lua") { plugins.fzf-lua.enable = lib.mkDefault true; })
|
||||||
|
(lib.mkIf (cfg.settings.picker == "snacks") {
|
||||||
|
plugins.snacks = {
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
settings.picker.enabled = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
withSnacksPicker = {
|
||||||
|
# This test is flaky and fails non-deterministically
|
||||||
|
test.runNvim = false;
|
||||||
|
|
||||||
|
plugins.web-devicons.enable = true;
|
||||||
|
plugins.octo = {
|
||||||
|
enable = true;
|
||||||
|
settings.picker = "snacks";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
# This test is flaky and fails non-deterministically
|
# This test is flaky and fails non-deterministically
|
||||||
test.runNvim = false;
|
test.runNvim = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue