mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/plugins: organise plugin-factory functions in a subdir
This commit is contained in:
parent
6a4b4221c4
commit
88a1c1b46a
4 changed files with 28 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue