Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
languages: Add highlighting for Go directives (#47621)
ozacod3e7f0ce7b7aa
diff --git a/crates/languages/src/go/highlights.scm b/crates/languages/src/go/highlights.scmindex 5d630cbdfc7..e861625ecc7 100644--- a/crates/languages/src/go/highlights.scm+++ b/crates/languages/src/go/highlights.scm@@ -138,3 +138,11 @@] @constant.builtin(comment) @comment++; Go directives+((comment) @preproc+ (#match? @preproc "^//go:"))++((comment) @preproc+ (#match? @preproc "^// \\+build"))+