mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
17 lines
437 B
Nix
17 lines
437 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkOption mkOptionType mkForce mkMerge mkIf types;
|
|
in {
|
|
helpers = mkOption {
|
|
type = mkOptionType {
|
|
name = "helpers";
|
|
description = "Helpers that can be used when writing nixvim configs";
|
|
check = builtins.isAttrs;
|
|
};
|
|
description = "Use this option to access the helpers";
|
|
default = import ../plugins/helpers.nix {inherit (pkgs) lib;};
|
|
};
|
|
}
|