Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

chore: Bump lsp-types rev (#34345)

Piotr Osiewicz8980526a859c
diff --git a/Cargo.lock b/Cargo.lock
index 540e3039ef0..ea7bfa0a382 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9704,7 +9704,7 @@ dependencies = [
[[package]]
name = "lsp-types"
version = "0.95.1"
-source = "git+https://github.com/zed-industries/lsp-types?rev=6add7052b598ea1f40f7e8913622c3958b009b60#6add7052b598ea1f40f7e8913622c3958b009b60"
+source = "git+https://github.com/zed-industries/lsp-types?rev=39f629bdd03d59abd786ed9fc27e8bca02c0c0ec#39f629bdd03d59abd786ed9fc27e8bca02c0c0ec"
dependencies = [
"bitflags 1.3.2",
"serde",
diff --git a/Cargo.toml b/Cargo.toml
index 1c79f4c1c87..1be2eb8d773 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -496,7 +496,7 @@ libc = "0.2"
libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
linkify = "0.10.0"
log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
-lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "6add7052b598ea1f40f7e8913622c3958b009b60" }
+lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "39f629bdd03d59abd786ed9fc27e8bca02c0c0ec" }
markup5ever_rcdom = "0.3.0"
metal = "0.29"
moka = { version = "0.12.10", features = ["sync"] }
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 4248f910eed..7dcfa61f471 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -633,7 +633,7 @@ impl LanguageServer {
inlay_hint: Some(InlayHintWorkspaceClientCapabilities {
refresh_support: Some(true),
}),
- diagnostic: Some(DiagnosticWorkspaceClientCapabilities {
+ diagnostics: Some(DiagnosticWorkspaceClientCapabilities {
refresh_support: Some(true),
})
.filter(|_| pull_diagnostics),