mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
* moved helpers to lib folder * Created proxy file for helpers.nix * wrappers: removed code duplication * null-ls: fix wrong name of variable * added warnings module * Added assertions * bufferline: deprecated option * nvim-tree: renamed options * Fixed mkRenamedOption * Bufferline: added new options * Fixed deprecated option Co-authored-by: Pedro Alves <pta2002@pta2002.com>
16 lines
428 B
Nix
16 lines
428 B
Nix
{ lib, ... }:
|
|
|
|
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; };
|
|
};
|
|
}
|