Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add "tool" support to go.mod (#22995)
Conrad Irwin45198f2af43f
diff --git a/Cargo.lock b/Cargo.lockindex 8cc326f9875..8fdbb52b9db 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -13658,8 +13658,8 @@ dependencies = [[[package]]name = "tree-sitter-gomod"-version = "1.0.2"-source = "git+https://github.com/zed-industries/tree-sitter-go-mod?rev=a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca#a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca"+version = "1.1.1"+source = "git+https://github.com/camdencheek/tree-sitter-go-mod?rev=6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c#6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c"dependencies = ["cc","tree-sitter-language",diff --git a/Cargo.toml b/Cargo.tomlindex 365f892031e..2688eff3341 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -494,7 +494,7 @@ tree-sitter-css = "0.23"tree-sitter-elixir = "0.3"tree-sitter-embedded-template = "0.23.0"tree-sitter-go = "0.23"-tree-sitter-go-mod = { git = "https://github.com/zed-industries/tree-sitter-go-mod", rev = "a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca", package = "tree-sitter-gomod" }+tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }tree-sitter-diff = "0.1.0"diff --git a/crates/languages/src/gomod/highlights.scm b/crates/languages/src/gomod/highlights.scmindex 0d3e0ca5510..bfcb6fcabbd 100644--- a/crates/languages/src/gomod/highlights.scm+++ b/crates/languages/src/gomod/highlights.scm@@ -3,6 +3,7 @@"replace""go""toolchain"+ "tool""exclude""retract""module"