# extension_host: Sync language extensions to remotes \(\#56487\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0b458e53a5b52fb205f8420db3f12315e9268915

Requested commit: 0b458e53a5b52fb205f8420db3f12315e9268915

Commit: 0b458e53a5b52fb205f8420db3f12315e9268915

Tree: 3179e326675a7cbe961c7eff0c2b069806785986

Author: liam

Committer: GitHub

## Message

```
extension_host: Sync language extensions to remotes (#56487)

Resolves #56068

Remote extension sync previously only sent extensions that can run
remotely: language servers, debug adapters, and debug locators. That
excluded language-only extensions such as TOML, so a remote session
could have Tombi synced and loaded while the remote language registry
still lacked TOML's language definition.

This diff keeps the remote sync set narrow: it starts from extensions
that can run remotely, then adds the extension that defines each
language referenced by those extensions' language servers. This installs
the TOML language config alongside Tombi without syncing unrelated
language-only extensions, allowing project settings schemas to recognize
language names like TOML and allowing remote language servers to attach
to buffers whose language is provided by a separate extension.

Release Notes:

- Fixed remote sessions failing to recognize languages provided by
language-only extensions.

---------

Co-authored-by: Finn Evers <finn.evers@outlook.de>
```

## Parents

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

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