Refactor lsp store (#17435)

This PR moves the local, remote, and ssh components of the LSP store
into their own types.

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Mikayla Maki 2024-09-05 11:51:49 -07:00 committed by GitHub
parent b887f8df8c
commit 8a1e8e37bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 714 additions and 443 deletions

View file

@ -688,7 +688,7 @@ impl LspLogView {
self.project
.read(cx)
.supplementary_language_servers(cx)
.filter_map(|(&server_id, name)| {
.filter_map(|(server_id, name)| {
let state = log_store.language_servers.get(&server_id)?;
Some(LogMenuItem {
server_id,