mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
23 lines
364 B
Nix
23 lines
364 B
Nix
|
{
|
||
|
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];
|
||
|
};
|
||
|
}
|