Skip to content

Commit

Permalink
plugins/lsp: use attrsOf anything instead of attrs for extraOptio…
Browse files Browse the repository at this point in the history
…ns (nix-community#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.
  • Loading branch information
traxys authored Mar 8, 2024
1 parent 07c34e8 commit 8569b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/lsp/helpers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

extraOptions = mkOption {
default = {};
type = types.attrs;
type = types.attrsOf types.anything;
description = "Extra options for the ${name} language server.";
};
};
Expand Down

0 comments on commit 8569b5c

Please sign in to comment.