1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-22 02:09:40 +01:00
nixvim/plugins/utils/conjure.nix

25 lines
364 B
Nix

{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
let
cfg = config.plugins.conjure;
in
{
options.plugins.conjure = {
enable = mkEnableOption "Conjure";
package = lib.mkPackageOption pkgs "conjure" {
default = [
"vimPlugins"
"conjure"
];
};
};
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
}