2024-01-31 08:51:39 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
2024-07-08 05:51:51 +01:00
|
|
|
lib ? pkgs.lib,
|
|
|
|
_nixvimTests ? false,
|
2024-01-31 08:51:39 +01:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
2024-07-28 22:51:18 +01:00
|
|
|
# Used when importing parts of helpers
|
|
|
|
call = lib.callPackageWith { inherit pkgs lib helpers; };
|
|
|
|
|
2024-07-28 22:30:11 +01:00
|
|
|
# Build helpers recursively
|
|
|
|
helpers =
|
|
|
|
{
|
2024-07-28 22:51:18 +01:00
|
|
|
autocmd = call ./autocmd-helpers.nix { };
|
|
|
|
keymaps = call ./keymap-helpers.nix { };
|
|
|
|
lua = call ./to-lua.nix { };
|
2024-07-28 22:30:11 +01:00
|
|
|
toLuaObject = helpers.lua.toLua;
|
|
|
|
maintainers = import ./maintainers.nix;
|
2024-07-28 22:51:18 +01:00
|
|
|
neovim-plugin = call ./neovim-plugin.nix { };
|
|
|
|
nixvimTypes = call ./types.nix { };
|
|
|
|
vim-plugin = call ./vim-plugin.nix { };
|
2024-07-28 22:30:11 +01:00
|
|
|
}
|
2024-07-28 22:51:18 +01:00
|
|
|
// call ./builders.nix { }
|
|
|
|
// call ./deprecation.nix { }
|
|
|
|
// call ./options.nix { }
|
|
|
|
// call ./utils.nix { inherit _nixvimTests; };
|
2024-01-25 15:43:06 +01:00
|
|
|
in
|
2024-07-28 22:30:11 +01:00
|
|
|
helpers
|