Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Improve Go syntax highlighting (#25327)
chbk7deceb62dcd5
diff --git a/crates/languages/src/go/highlights.scm b/crates/languages/src/go/highlights.scmindex 7e594a5c126..5aa23fca90b 100644--- a/crates/languages/src/go/highlights.scm+++ b/crates/languages/src/go/highlights.scm@@ -2,6 +2,7 @@(type_identifier) @type(field_identifier) @variable.member+(package_identifier) @namespace(keyed_element.@@ -20,6 +21,15 @@(method_declarationname: (field_identifier) @function.method)+(method_elem+ name: (field_identifier) @function.method)++[+ ";"+ "."+ ","+ ":"+] @punctuation.delimiter["("