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.

WIP: Use a different approach to codegen outline

Antonio Scandurra53c25690f940
diff --git a/crates/zed/src/languages/rust/summary.scm b/crates/zed/src/languages/rust/summary.scm
new file mode 100644
index 00000000000..7174eec3c38
--- /dev/null
+++ b/crates/zed/src/languages/rust/summary.scm
@@ -0,0 +1,6 @@
+(function_item
+ body: (block
+ "{" @keep
+ "}" @keep) @collapse)
+
+(use_declaration) @collapse