aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/elixir/rainbows.scm
blob: 01d3da7ae295d8b347fc6273d88c51b487797354 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[
  (block)
  (interpolation)
  (list)
  (tuple)
  (bitstring)
  (map)
  ; short-hand function captures like &(&1 + &2)
  (unary_operator
    operator: "&")
  (arguments "(" ")")
  (access_call)
  (sigil)
] @rainbow.scope

[
  "(" ")"
  "%"
  "{" "}"
  "[" "]"
  "<<" ">>"
  "#{"
  "|"
] @rainbow.bracket