neovim-flake/modules/wrapper/lazy/lazy.nix
2024-08-02 12:55:57 +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 {};
};
}