aboutsummaryrefslogtreecommitdiffstats
path: root/queries/javascript/indents.scm
blob: b13a8a192739cbbd16921569c9097f07d4045aa2 (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
; inherits: (jsx)

[
  (object)
  (array)
  (arguments)
  (statement_block)
  (object_pattern)
  (class_body)
  (method_definition)
  (named_imports)
  (binary_expression)
  (return_statement)
  (template_substitution)
  (expression_statement (call_expression))
  (export_clause)
] @indent

[
  (arguments (object))
  "("
  ")"
  "{"
  "}"
  "["
  "]"
] @branch