nix-community.nixvim/lib/helpers.nix

26 lines
833 B
Nix
Raw Normal View History

{
pkgs,
lib ? pkgs.lib,
_nixvimTests ? false,
...
2024-05-05 19:39:35 +02:00
}:
let
2024-07-28 22:30:11 +01:00
# Build helpers recursively
helpers =
{
autocmd = import ./autocmd-helpers.nix { inherit lib helpers; };
keymaps = import ./keymap-helpers.nix { inherit lib helpers; };
lua = import ./to-lua.nix { inherit lib; };
toLuaObject = helpers.lua.toLua;
maintainers = import ./maintainers.nix;
neovim-plugin = import ./neovim-plugin.nix { inherit lib helpers; };
nixvimTypes = import ./types.nix { inherit lib helpers; };
vim-plugin = import ./vim-plugin.nix { inherit lib helpers; };
}
// import ./builders.nix { inherit lib pkgs; }
// import ./deprecation.nix { inherit lib; }
// import ./options.nix { inherit lib helpers; }
// import ./utils.nix { inherit lib helpers _nixvimTests; };
2024-01-25 15:43:06 +01:00
in
2024-07-28 22:30:11 +01:00
helpers