aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/powershell/indents.scm
blob: 3be2ed1618d49e9d2f6e5005bd980836b86d02fd (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
29
30
31
32
33
34
35
36
37
38
39
40
41
(function_statement
  "}" @indent.branch) @indent.begin

(param_block
  [
    "param"
    "("
    ")"
  ] @indent.branch) @indent.begin

(script_block_expression
  "}" @indent.branch) @indent.begin

(statement_block
  "}" @indent.branch) @indent.begin

(switch_body
  "}" @indent.branch) @indent.begin

(array_expression
  ")" @indent.branch) @indent.begin

(hash_literal_expression
  "}" @indent.branch) @indent.begin

(class_statement
  "}" @indent.branch) @indent.begin

(class_method_definition
  "}" @indent.branch) @indent.begin

[
  "}"
  ")"
] @indent.end

[
  (comment)
  (string_literal)
  (ERROR)
] @indent.auto