mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 22:14:23 +00:00
a97ab5eb3d
This fixes the issue of multiple language servers showing up as `node` in the language server logs dropdown. It does this by changing `language_server.name()` to return the adapter's name, not the binary name, and changing types to make sure that we always use this. Release Notes: - Fixed language server names showing up only as `"node"` --------- Co-authored-by: Sam Rose <hello@samwho.dev> Co-authored-by: Bennet <bennet@zed.dev>
43 lines
1,003 B
TOML
43 lines
1,003 B
TOML
[package]
|
|
name = "lsp"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/lsp.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = ["async-pipe"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-pipe = { workspace = true, optional = true }
|
|
collections.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
log.workspace = true
|
|
lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "72357d6f6d212bdffba3b5ef4b31d8ca856058e7" }
|
|
parking_lot.workspace = true
|
|
postage.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
schemars.workspace = true
|
|
smol.workspace = true
|
|
util.workspace = true
|
|
release_channel.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[dev-dependencies]
|
|
async-pipe.workspace = true
|
|
ctor.workspace = true
|
|
env_logger.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
util = { workspace = true, features = ["test-support"] }
|