Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
update tree-sitter-typescript to add support for new satisfies operator
Kay Simmonsb03eebeb6c71
diff --git a/Cargo.lock b/Cargo.lockindex 75c084d3eff..daa613bfcf0 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1956,7 +1956,7 @@ dependencies = ["tree-sitter-html","tree-sitter-javascript","tree-sitter-rust",- "tree-sitter-typescript",+ "tree-sitter-typescript 0.20.2","unindent","util","workspace",@@ -3277,7 +3277,7 @@ dependencies = ["tree-sitter-python","tree-sitter-ruby","tree-sitter-rust",- "tree-sitter-typescript",+ "tree-sitter-typescript 0.20.1","unicase","unindent","util",@@ -7192,6 +7192,15 @@ dependencies = ["tree-sitter",]+[[package]]+name = "tree-sitter-typescript"+version = "0.20.2"+source = "git+https://github.com/tree-sitter/tree-sitter-typescript?rev=5d20856f34315b068c41edaee2ac8a100081d259#5d20856f34315b068c41edaee2ac8a100081d259"+dependencies = [+ "cc",+ "tree-sitter",+]+[[package]]name = "tree-sitter-yaml"version = "0.0.1"@@ -8439,7 +8448,7 @@ dependencies = ["tree-sitter-rust","tree-sitter-scheme","tree-sitter-toml",- "tree-sitter-typescript",+ "tree-sitter-typescript 0.20.2","tree-sitter-yaml","unindent","url",diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.tomlindex fd704becd2a..6cb7ef32ec4 100644--- a/crates/editor/Cargo.toml+++ b/crates/editor/Cargo.toml@@ -59,7 +59,7 @@ smol = "1.2"tree-sitter-rust = { version = "*", optional = true }tree-sitter-html = { version = "*", optional = true }tree-sitter-javascript = { version = "*", optional = true }-tree-sitter-typescript = { version = "*", optional = true }+tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }[dev-dependencies]text = { path = "../text", features = ["test-support"] }@@ -77,5 +77,5 @@ unindent = "0.1.7"tree-sitter = "0.20"tree-sitter-rust = "0.20"tree-sitter-html = "0.19"-tree-sitter-typescript = "0.20.1"+tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }tree-sitter-javascript = "0.20"diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.tomlindex ed40aa73917..046866cc0c0 100644--- a/crates/zed/Cargo.toml+++ b/crates/zed/Cargo.toml@@ -105,7 +105,8 @@ tree-sitter-rust = "0.20.3"tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }tree-sitter-python = "0.20.2"tree-sitter-toml = { git = "https://github.com/tree-sitter/tree-sitter-toml", rev = "342d9be207c2dba869b9967124c679b5e6fd0ebe" }-tree-sitter-typescript = "0.20.1"+tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }+tree-sitter-ruby = "0.20.0"tree-sitter-html = "0.19.0"tree-sitter-scheme = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9"}diff --git a/crates/zed/src/languages/typescript/highlights.scm b/crates/zed/src/languages/typescript/highlights.scmindex bd1986b6b3a..43df33d1581 100644--- a/crates/zed/src/languages/typescript/highlights.scm+++ b/crates/zed/src/languages/typescript/highlights.scm@@ -175,6 +175,7 @@"new""of""return"+ "satisfies""set""static""switch"