mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-19 02:11:20 +00:00
add lazy module skeleton
This commit is contained in:
parent
bd7ffebbd5
commit
40c40a56cc
4 changed files with 36 additions and 0 deletions
15
modules/wrapper/lazy/lazy.nix
Normal file
15
modules/wrapper/lazy/lazy.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{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 {};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue