nix-community.nixvim/plugins/languages/helm.nix

23 lines
362 B
Nix
Raw Normal View History

2024-02-02 11:39:02 +01:00
{
lib,
helpers,
config,
pkgs,
...
}:
2024-05-05 19:39:35 +02:00
with lib;
let
2024-02-02 11:39:02 +01:00
cfg = config.plugins.helm;
2024-05-05 19:39:35 +02:00
in
{
meta.maintainers = [ maintainers.GaetanLepage ];
2024-02-02 11:39:02 +01:00
options.plugins.helm = {
enable = mkEnableOption "vim-helm";
package = helpers.mkPackageOption "vim-helm" pkgs.vimPlugins.vim-helm;
};
2024-05-05 19:39:35 +02:00
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
2024-02-02 11:39:02 +01:00
}