diff --git a/extensions/elixir/languages/elixir/outline.scm b/extensions/elixir/languages/elixir/outline.scm index 12a1a25e5f12d..2e864136fc56a 100644 --- a/extensions/elixir/languages/elixir/outline.scm +++ b/extensions/elixir/languages/elixir/outline.scm @@ -3,6 +3,16 @@ (arguments (alias) @name) (#match? @context "^(defmodule|defprotocol)$")) @item +(call + target: (identifier) @context + (arguments (_) @name)? + (#match? @context "^(setup|setup_all)$")) @item + +(call + target: (identifier) @context + (arguments (string) @name) + (#match? @context "^(describe|test)$")) @item + (unary_operator operator: "@" @name operand: (call