Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
go: Add first-line pattern detection for executable Go scripts (#48913)
Daniel Strobusch4f2a277a63f7
diff --git a/crates/languages/src/go/config.toml b/crates/languages/src/go/config.tomlindex 0a5122c038e..c8589b14d68 100644--- a/crates/languages/src/go/config.toml+++ b/crates/languages/src/go/config.toml@@ -2,6 +2,7 @@ name = "Go"grammar = "go"path_suffixes = ["go"]line_comments = ["// "]+first_line_pattern = '^//.*\bgo run\b'autoclose_before = ";:.,=}])>"brackets = [{ start = "{", end = "}", close = true, newline = true },