elixir: Support describe, test, setup, setup_all in outlines (#19135)
Closes #9894 Release Notes: - N/A ### Before  ### After 
This commit is contained in:
parent
73a6c542f3
commit
b3c93130ec
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue