nix-community.nixvim/lib/helpers.nix

29 lines
733 B
Nix
Raw Normal View History

{
pkgs,
lib ? pkgs.lib,
_nixvimTests ? false,
...
2024-05-05 19:39:35 +02:00
}:
let
# 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 =
{
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;
neovim-plugin = call ./neovim-plugin.nix { };
nixvimTypes = call ./types.nix { };
vim-plugin = call ./vim-plugin.nix { };
2024-07-28 22:30:11 +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