Send lsp_types::InitializeParams with Zed version (#7216)
Based on the great work in https://github.com/zed-industries/zed/pull/7130 , now sends this data ``` [crates/lsp/src/lsp.rs:588] ClientInfo { name: name.to_string(), version: Some(version.to_string()) } = ClientInfo { name: "Zed Dev", version: Some( "0.122.0", ), } ``` with every LSP server initialization. Release Notes: - Added Zed name and version to LSP InitializeParams requests
This commit is contained in:
parent
47a1ff7df9
commit
944a1f8fb0
17 changed files with 50 additions and 16 deletions
|
@ -43,6 +43,7 @@ zed_actions = { path = "../zed_actions" }
|
|||
editor = { path = "../editor", features = ["test-support"] }
|
||||
futures.workspace = true
|
||||
gpui = { path = "../gpui", features = ["test-support"] }
|
||||
release_channel = { path = "../release_channel" }
|
||||
indoc.workspace = true
|
||||
language = { path = "../language", features = ["test-support"] }
|
||||
lsp = { path = "../lsp", features = ["test-support"] }
|
||||
|
|
|
@ -23,6 +23,7 @@ impl VimTestContext {
|
|||
search::init(cx);
|
||||
let settings = SettingsStore::test(cx);
|
||||
cx.set_global(settings);
|
||||
release_channel::init("0.0.0", cx);
|
||||
command_palette::init(cx);
|
||||
crate::init(cx);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue