neovim-flake/modules/wrapper/lazy/lazy.nix
2024-07-24 12:30:32 +02:00

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