mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
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:
parent
3bfe71f1ae
commit
55fee7051f
3 changed files with 20 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue