plugins/helm: init

This commit is contained in:
Gaetan Lepage 2024-02-02 11:39:02 +01:00 committed by Gaétan Lepage
parent 90b07f5359
commit 9d3ff56ed8
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
lib,
helpers,
config,
pkgs,
...
}:
with lib; let
cfg = config.plugins.helm;
in {
meta.maintainers = [maintainers.GaetanLepage];
options.plugins.helm = {
enable = mkEnableOption "vim-helm";
package = helpers.mkPackageOption "vim-helm" pkgs.vimPlugins.vim-helm;
};
config = mkIf cfg.enable {
extraPlugins = [cfg.package];
};
}