mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/yazi: add yaziPackage option
This commit is contained in:
parent
c4ad4d0b2e
commit
47b563d4e1
1 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -21,6 +22,16 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
||||||
See the [upstream docs](https://github.com/mikavilpas/yazi.nvim?tab=readme-ov-file#%EF%B8%8F-keybindings) for details.
|
See the [upstream docs](https://github.com/mikavilpas/yazi.nvim?tab=readme-ov-file#%EF%B8%8F-keybindings) for details.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
extraOptions = {
|
||||||
|
yaziPackage = lib.mkPackageOption pkgs "yazi" {
|
||||||
|
nullable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfig = cfg: {
|
||||||
|
extraPackages = [ cfg.yaziPackage ];
|
||||||
|
};
|
||||||
|
|
||||||
settingsOptions = {
|
settingsOptions = {
|
||||||
log_level = defaultNullOpts.mkLogLevel' {
|
log_level = defaultNullOpts.mkLogLevel' {
|
||||||
pluginDefault = "off";
|
pluginDefault = "off";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue