mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
27 lines
413 B
Nix
27 lines
413 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 = lib.mkPackageOption pkgs "vim-helm" {
|
|
default = [
|
|
"vimPlugins"
|
|
"vim-helm"
|
|
];
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
|
|
}
|