-
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/plugins: call sub-components with relevant args
- Loading branch information
1 parent
690fc89
commit 787844c
Showing
4 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{ | ||
call, | ||
lib, | ||
}: | ||
{ lib }: | ||
let | ||
self = lib.nixvim.plugins; | ||
call = lib.callPackageWith (self // { inherit call lib self; }); | ||
in | ||
{ | ||
utils = call ./utils.nix { }; | ||
neovim = call ./neovim.nix { }; | ||
vim = call ./vim.nix { }; | ||
|
||
# Aliases | ||
inherit (lib.nixvim.plugins.neovim) mkNeovimPlugin; | ||
inherit (lib.nixvim.plugins.vim) mkVimPlugin; | ||
inherit (self.neovim) mkNeovimPlugin; | ||
inherit (self.vim) mkVimPlugin; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters