standalone: rename nixvimExtend to extend

This is our scope, so there's no need to be explicit.

This also follows the precedent set by `lib.extend`, although that takes
an overlay function.
This commit is contained in:
Matt Sturgeon 2024-07-01 14:20:12 +01:00
parent 3bfe71f1ae
commit 55fee7051f
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 20 additions and 19 deletions

View file

@ -55,10 +55,10 @@ let
] ++ pkgs.lib.optional config.enableMan self.packages.${pkgs.stdenv.hostPlatform.system}.man-docs;
meta.mainProgram = "nvim";
})
// {
// rec {
inherit config;
inherit (evaledModule) options;
nixvimExtend =
extend =
extension:
mkNvim {
imports = [
@ -66,6 +66,7 @@ let
extension
];
};
nixvimExtend = lib.warn "<nixvim>.nixvimExtend has been renamed to <nixvim>.extend" extend;
};
in
mkNvim module