Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Highlight labels in Go (#37673)

chbka6a111cadd34
diff --git a/crates/languages/src/go/highlights.scm b/crates/languages/src/go/highlights.scm
index bb0eaab88a1..5d630cbdfc7 100644
--- a/crates/languages/src/go/highlights.scm
+++ b/crates/languages/src/go/highlights.scm
@@ -4,6 +4,8 @@
(field_identifier) @property
(package_identifier) @namespace
+(label_name) @label
+
(keyed_element
.
(literal_element