nvf/modules/wrapper/lazy/lazy.nix
2024-08-15 15:50:16 +02:00

16 lines
355 B
Nix

{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 {};
};
}