aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/bash/indents.scm
blob: c0a4bed47b4d9317c31d8174e00d495281f3e985 (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
[
  (if_statement)
  (for_statement)
  (while_statement)
  (case_statement)
  (function_definition)
  (compound_statement)
  (subshell)
  (command_substitution)
  (do_group)
  (case_item)
] @indent.begin

[
  "fi"
  "done"
  "esac"
  "}"
  ")"
  "then"
  "do"
  (elif_clause)
  (else_clause)
] @indent.branch

[
  "fi"
  "done"
  "esac"
  "}"
  ")"
] @indent.end