lazy/lz.n: fix default un-lazy plugins

This commit is contained in:
Ching Pei Yang 2025-02-25 12:34:15 +01:00
parent e5aa9ee0c6
commit 392f91ef99
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -172,7 +172,14 @@
description = "Lazy-load on colorscheme."; description = "Lazy-load on colorscheme.";
}; };
lazy = mkBool false "Lazy-load manually, e.g. using `trigger_load`."; lazy = mkOption {
type = nullOr bool;
default = null;
description = ''
Force enable/disable lazy-loading. `null` means only lazy-load if
a valid lazy-load condition is set e.g. `cmd`, `ft`, `keys` etc.
'';
};
priority = mkOption { priority = mkOption {
type = nullOr int; type = nullOr int;