From 308fb734c65c13064e16e2e8f3608bda6d80dfb7 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 19 Apr 2026 18:53:05 +0300 Subject: [PATCH] Fix tsgo LSP (#54258) Cherry-pick of https://github.com/zed-industries/zed/pull/54201 into Preview Bumps the `lsp-types` rev which contains patch for breaking change introduced by upstream `typescript-go` repo Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - Fixed tsgo LSP --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1348251a5e32abf56b58c646264fa20c6172247..7353d5a82c0c686fced681afad2de181ff5a8217 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10113,7 +10113,7 @@ dependencies = [ [[package]] name = "lsp-types" version = "0.95.1" -source = "git+https://github.com/zed-industries/lsp-types?rev=c7396459fefc7886b4adfa3b596832405ae1e880#c7396459fefc7886b4adfa3b596832405ae1e880" +source = "git+https://github.com/zed-industries/lsp-types?rev=f4dfa89a21ca35cd929b70354b1583fabae325f8#f4dfa89a21ca35cd929b70354b1583fabae325f8" dependencies = [ "bitflags 1.3.2", "serde", diff --git a/Cargo.toml b/Cargo.toml index 7c3d79c223a6c0e0b9000de533237465356a6936..75cd2f54b733b7ca7894743223f854d8c26a71c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -608,7 +608,7 @@ linkify = "0.10.0" libwebrtc = "0.3.26" livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] } log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] } -lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "c7396459fefc7886b4adfa3b596832405ae1e880" } +lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "f4dfa89a21ca35cd929b70354b1583fabae325f8" } mach2 = "0.5" markup5ever_rcdom = "0.3.0" metal = "0.33"