mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
lib/languages: fix lsp.servers.*.cmd concatenating
This commit is contained in:
parent
bf4dedb6ed
commit
b8f546bf7c
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue