mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/telescope/extensions: use mkExtension's dependencies parameter
This commit is contained in:
parent
436fd243cf
commit
836994b8bc
2 changed files with 3 additions and 9 deletions
|
@ -23,6 +23,8 @@ mkExtension {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dependencies = [ "manix" ];
|
||||||
|
|
||||||
settingsOptions = {
|
settingsOptions = {
|
||||||
manix_args = defaultNullOpts.mkListOf lib.types.str [ ] "CLI arguments to pass to manix.";
|
manix_args = defaultNullOpts.mkListOf lib.types.str [ ] "CLI arguments to pass to manix.";
|
||||||
|
|
||||||
|
@ -34,8 +36,4 @@ mkExtension {
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
cword = true;
|
cword = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = {
|
|
||||||
dependencies.manix.enable = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,11 +58,7 @@ mkExtension {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = cfg: {
|
dependencies = [ "chafa" ];
|
||||||
dependencies = {
|
|
||||||
chafa.enable = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
settingsOptions = {
|
settingsOptions = {
|
||||||
filetypes = defaultNullOpts.mkListOf types.str [
|
filetypes = defaultNullOpts.mkListOf types.str [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue