mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/plugins: call sub-components with relevant args
This commit is contained in:
parent
690fc895b5
commit
787844cfe4
4 changed files with 21 additions and 23 deletions
|
@ -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; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue