lib/languages: fix lsp.servers.*.cmd concatenating

This commit is contained in:
Ching Pei Yang 2025-06-22 17:15:20 +02:00
commit b8f546bf7c
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -1,7 +1,7 @@
{lib}: let
inherit (builtins) isString getAttr;
inherit (lib.options) mkOption;
inherit (lib.types) listOf bool str submodule attrsOf anything either nullOr oneOf;
inherit (lib.types) listOf bool str submodule attrsOf anything either nullOr uniq;
inherit (lib.nvim.attrsets) mapListToAttrs;
inherit (lib.nvim.types) luaInline;
in {
@ -62,7 +62,7 @@ in {
};
cmd = mkOption {
type = nullOr (either luaInline (listOf str));
type = nullOr (either luaInline (uniq (listOf str)));
default = null;
description = "Command used to start the LSP server";
};