lib/plugins: call sub-components with relevant args

This commit is contained in:
Matt Sturgeon 2024-12-18 23:15:09 +00:00
parent 690fc895b5
commit 787844cfe4
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
4 changed files with 21 additions and 23 deletions

View file

@ -1,12 +1,8 @@
{
call,
lib,
self,
}:
let
inherit (lib.nixvim.plugins.vim)
mkSettingsOptionDescription
;
in
{
mkVimPlugin = call ./mk-vim-plugin.nix { };
@ -31,6 +27,6 @@ in
}:
lib.nixvim.mkSettingsOption {
inherit options example;
description = mkSettingsOptionDescription { inherit name globalPrefix; };
description = self.vim.mkSettingsOptionDescription { inherit name globalPrefix; };
};
}