# lsp: Register available LSP adapters locally when in remote development \(\#54915\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9cc78ac6919ba759e403686783520ce6e2933159

Requested commit: 9cc78ac6919ba759e403686783520ce6e2933159

Commit: 9cc78ac6919ba759e403686783520ce6e2933159

Tree: c82c5b6b6d879a7805a2c8b17e50227db26144fd

Author: Xin Zhao

Committer: GitHub

## Message

```
lsp: Register available LSP adapters locally when in remote development (#54915)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #49178

The context for this change is covered in #49178. Some language server
adapters are lazily registered; in remote development or collab
sessions, the local client fails to register these adapters, may causing
certain LSP features to function incorrectly. This PR is intended to
address that.

Release Notes:

- N/A
```

## Parents

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

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