mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
20 lines
317 B
Nix
20 lines
317 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.plugins.conjure;
|
|
in {
|
|
options.plugins.conjure = {
|
|
enable = mkEnableOption "Conjure";
|
|
|
|
package = helpers.mkPackageOption "conjure" pkgs.vimPlugins.conjure;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
extraPlugins = [cfg.package];
|
|
};
|
|
}
|