Tidy up collab-related signature help data (#14377)

Follow-up of https://github.com/zed-industries/zed/pull/12909

* Fully preserve LSP data when sending it via collab, and only strip it
on the client.
* Avoid extra custom request handlers, and extend multi LSP server query
protocol instead.


Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2024-07-13 04:06:01 +03:00 committed by GitHub
parent dd63e25f23
commit 9ce989a704
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 269 additions and 167 deletions

View file

@ -642,10 +642,7 @@ impl Server {
app_state.config.openai_api_key.clone(),
)
})
})
.add_request_handler(user_handler(
forward_read_only_project_request::<proto::GetSignatureHelp>,
));
});
Arc::new(server)
}