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.

Relax "test" runnable check (#15647)

Mayank Jikadara61365e034f33
diff --git a/crates/languages/src/rust/runnables.scm b/crates/languages/src/rust/runnables.scm
index 963009abc03..6be4576925f 100644
--- a/crates/languages/src/rust/runnables.scm
+++ b/crates/languages/src/rust/runnables.scm
@@ -13,7 +13,7 @@
[((identifier) @_attribute)
(scoped_identifier (identifier) @_attribute)
])
- (#eq? @_attribute "test")
+ (#match? @_attribute "test")
) @start
.
(attribute_item) *