Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add outline.scm for Elm
Quinn Wilton6ad0852a7040
diff --git a/crates/zed/src/languages/elm/outline.scm b/crates/zed/src/languages/elm/outline.scmnew file mode 100644index 00000000000..c220676290c--- /dev/null+++ b/crates/zed/src/languages/elm/outline.scm@@ -0,0 +1,22 @@+(type_declaration+ (type) @context+ (upper_case_identifier) @name) @item++(type_alias_declaration+ (type) @context+ (alias) @context+ name: (upper_case_identifier) @name) @item++(type_alias_declaration+ typeExpression:+ (type_expression+ part: (record_type+ (field_type+ name: (lower_case_identifier) @name)))) @item++(union_variant+ name: (upper_case_identifier) @name) @item++(value_declaration+ functionDeclarationLeft:+ (function_declaration_left(lower_case_identifier) @name)) @item