plugins: wilder-nvim -> wilder

This commit is contained in:
Gaetan Lepage 2023-10-11 09:01:45 +02:00 committed by Gaétan Lepage
parent c5150bfcdc
commit b483c752c2
3 changed files with 14 additions and 5 deletions

View file

@ -5,7 +5,7 @@
...
}:
with lib; let
cfg = config.plugins.wilder-nvim;
cfg = config.plugins.wilder;
helpers = import ../helpers.nix {inherit lib;};
boolToInt = value:
@ -15,7 +15,15 @@ with lib; let
then "1"
else "0";
in {
options.plugins.wilder-nvim =
imports = [
(
mkRenamedOptionModule
["plugins" "wilder-nvim"]
["plugins" "wilder"]
)
];
options.plugins.wilder =
helpers.extraOptionsOptions
// {
enable = mkEnableOption "wilder-nvim";