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

@ -47,6 +47,7 @@
./languages/clangd-extensions.nix
./languages/debugprint.nix
./languages/haskell-scope-highlighting.nix
./languages/helm.nix
./languages/julia/julia-cell.nix
./languages/lean.nix
./languages/ledger.nix

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];
};
}

View file

@ -0,0 +1,5 @@
{
empty = {
plugins.helm.enable = true;
};
}