nvf/modules/wrapper/lazy/lazy.nix

16 lines
355 B
Nix
Raw Normal View History

2024-06-25 15:16:49 +00:00
{lib, ...}: let
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.types) enum;
in {
options.vim.lazy = {
enable = mkEnableOption "plugin lazy-loading" // {default = true;};
loader = mkOption {
description = "Lazy loader to use";
type = enum ["lz.n"];
default = "lz.n";
};
# plugins = mkOption {};
};
}