From 8569b5c5506247423c39f2b3a0739f12fde41e38 Mon Sep 17 00:00:00 2001 From: traxys Date: Sat, 9 Mar 2024 00:04:05 +0100 Subject: [PATCH] plugins/lsp: use `attrsOf anything` instead of `attrs` for extraOptions (#1235) `attrs` is not merged correctly, this can introduce conflicts with efmls-configs for example when trying to register `efm` sources not defined by efmls-configs. --- plugins/lsp/helpers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lsp/helpers.nix b/plugins/lsp/helpers.nix index d04dd012..ec343fc4 100644 --- a/plugins/lsp/helpers.nix +++ b/plugins/lsp/helpers.nix @@ -77,7 +77,7 @@ extraOptions = mkOption { default = {}; - type = types.attrs; + type = types.attrsOf types.anything; description = "Extra options for the ${name} language server."; }; };