lib/plugins: organise plugin-factory functions in a subdir

This commit is contained in:
Matt Sturgeon 2024-12-18 21:03:45 +00:00
parent 6a4b4221c4
commit 88a1c1b46a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
4 changed files with 28 additions and 2 deletions

View file

@ -20,10 +20,24 @@ lib.makeExtensible (
keymaps = call ./keymap-helpers.nix { };
lua = call ./to-lua.nix { };
modules = call ./modules.nix { inherit flake; };
neovim-plugin = call ./neovim-plugin.nix { };
options = call ./options.nix { };
plugins = call ./plugins { };
utils = call ./utils.nix { inherit _nixvimTests; };
vim-plugin = call ./vim-plugin.nix { };
# plugin aliases
neovim-plugin = {
inherit (self.plugins)
extraOptionsOptions
mkNeovimPlugin
;
};
vim-plugin = {
inherit (self.plugins)
mkSettingsOption
mkSettingsOptionDescription
mkVimPlugin
;
};
# Top-level helper aliases:
# TODO: deprecate some aliases