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

20 lines
319 B
Nix

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