-
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helpers/neovim-plugin: add mkNeovimPlugin
- Loading branch information
1 parent
e797c36
commit 4494934
Showing
2 changed files
with
63 additions
and
4 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,16 +1,21 @@ | ||
{lib, ...}: let | ||
{ | ||
lib, | ||
pkgs, | ||
... | ||
}: let | ||
nixvimTypes = import ./types.nix {inherit lib nixvimOptions;}; | ||
nixvimUtils = import ./utils.nix {inherit lib;}; | ||
nixvimOptions = import ./options.nix {inherit lib nixvimTypes nixvimUtils;}; | ||
inherit (import ./to-lua.nix {inherit lib;}) toLuaObject; | ||
in | ||
{ | ||
maintainers = import ./maintainers.nix; | ||
keymaps = import ./keymap-helpers.nix {inherit lib nixvimOptions nixvimTypes;}; | ||
autocmd = import ./autocmd-helpers.nix {inherit lib nixvimOptions nixvimTypes;}; | ||
neovim-plugin = import ./neovim-plugin.nix {inherit lib nixvimOptions;}; | ||
neovim-plugin = import ./neovim-plugin.nix {inherit lib nixvimOptions toLuaObject;}; | ||
vim-plugin = import ./vim-plugin.nix {inherit lib nixvimOptions;}; | ||
inherit (import ./to-lua.nix {inherit lib;}) toLuaObject; | ||
inherit nixvimTypes; | ||
inherit toLuaObject; | ||
} | ||
// nixvimUtils | ||
// nixvimOptions |
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