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