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.

Add structured outline for Markdown (#45643)

Yuantian Ding8a1cf4d49955
diff --git a/crates/languages/src/markdown/outline.scm b/crates/languages/src/markdown/outline.scm
index 3f8311136cd..dcca3db4d4c 100644
--- a/crates/languages/src/markdown/outline.scm
+++ b/crates/languages/src/markdown/outline.scm
@@ -1,5 +1,3 @@
-(atx_heading
- .
- (_) @context
- .
- (_) @name ) @item
+(section
+ (atx_heading
+ . (_) @context . (_) @name)) @item