mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
16 lines
434 B
Nix
16 lines
434 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; };
|
|
};
|
|
}
|