Skip to content

Commit

Permalink
blink: allow null sources.cmdline
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Jan 1, 2025
1 parent d130845 commit 18e4810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/plugins/completion/blink-cmp/blink-cmp.nix
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 18e4810

Please sign in to comment.