# language: Change signature of \`initialization_options_schema\` \(\#45937\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/872b2b35101e21053c90c53befc16e5197b9a511)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 872b2b35101e21053c90c53befc16e5197b9a511

Requested commit: 872b2b35101e21053c90c53befc16e5197b9a511

Commit: 872b2b35101e21053c90c53befc16e5197b9a511

Tree: 7881fcacfc534d37954dd56b52188356be66c8c7

Author: Finn Evers

Committer: GitHub

## Message

```
language: Change signature of `initialization_options_schema` (#45937)

This makes this take the LSP adapter delegate instead of the binary
itself.

Despite us passing `LanguageServerBinaryOptions` with `allow_download:
false`, extensions would still try to download the binary because it was
never implemented for these to respect that. This would cause us to try
to download all langauge servers provided by extensions when opening a
settings file and/or requesting the JSON schema for that.

This PR fixes this by passing the LSP adapter delegate instead, so the
few language servers which actually want to have the binary for
resolving the initialization options can decide on this by themselves.
With that, we no longer download all language servers for the schema
request

Release Notes:

- N/A
```

## Parents

- [83966115a8ed14773b9d9c07e67f50d01cbfdedb](https://git.cafe/gitcafe/zed/commit/83966115a8ed14773b9d9c07e67f50d01cbfdedb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/872b2b35101e21053c90c53befc16e5197b9a511?format=markdown)
