Compare commits

..

2 commits

Author SHA1 Message Date
Ching Pei Yang
e3b624887c
Merge 9be26f2ac3 into b6a49b299a 2024-12-29 17:17:06 +00:00
Ching Pei Yang
9be26f2ac3
blink: allow null sources.cmdline 2024-12-29 02:29:18 +01:00

View file

@ -1,6 +1,6 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption literalMD;
inherit (lib.types) listOf str either attrsOf submodule enum anything int;
inherit (lib.types) listOf str either attrsOf submodule enum anything int nullOr;
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
inherit (lib.nvim.binds) mkMappingOption;
inherit (lib.nvim.config) mkBool;
@ -37,9 +37,9 @@ in {
};
cmdline = mkOption {
type = listOf str;
type = nullOr (listOf str);
default = [];
description = "List of sources to enable for cmdline";
description = "List of sources to enable for cmdline. Null means use default source list.";
};
providers = mkOption {