aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/python/rainbows.scm
blob: 15e5db29c7c0b7ac9a996b082413666350499943 (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
25
26
27
28
[
  (future_import_statement)
  (import_from_statement)
  (with_clause)
  (parameters)
  (parenthesized_list_splat)
  (argument_list)
  (tuple_pattern)
  (list_pattern)
  (subscript)
  (list)
  (set)
  (tuple)
  (dictionary)
  (dictionary_comprehension)
  (set_comprehension)
  (list_comprehension)
  (generator_expression)
  (parenthesized_expression)
  (interpolation)
  (format_expression)
] @rainbow.scope

[
  "(" ")"
  "{" "}"
  "[" "]"
] @rainbow.bracket