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.

Fix missing highlight for macro_invocation bang (#41572)

Hyeondong Leeb01a6fbdeaeb
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scm
index 36f638e825b..c541b512178 100644
--- a/crates/languages/src/rust/highlights.scm
+++ b/crates/languages/src/rust/highlights.scm
@@ -41,6 +41,9 @@
name: (identifier) @function.special)
])
+(macro_invocation
+ "!" @function.special)
+
(macro_definition
name: (identifier) @function.special.definition)