mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
helpers/neovim-plugin: add mkNeovimPlugin
This commit is contained in:
parent
e797c36266
commit
44949348cb
2 changed files with 63 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue