Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add Elixir symbols in outline view (#8761)
rauan467a179837e0
diff --git a/crates/languages/src/elixir/outline.scm b/crates/languages/src/elixir/outline.scmindex a3311fb6d46..12a1a25e5f1 100644--- a/crates/languages/src/elixir/outline.scm+++ b/crates/languages/src/elixir/outline.scm@@ -3,6 +3,26 @@(arguments (alias) @name)(#match? @context "^(defmodule|defprotocol)$")) @item+(unary_operator+ operator: "@" @name+ operand: (call+ target: (identifier) @context+ (arguments+ [+ (binary_operator+ left: (identifier) @name)+ (binary_operator+ left: (call+ target: (identifier) @name+ (arguments+ "(" @context.extra+ _* @context.extra+ ")" @context.extra)))+ ]+ )+)+(#match? @context "^(callback|type|typep)$")) @item+(calltarget: (identifier) @context(arguments