aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/lua/indents.scm
blob: 55a812c51ba8474bd206b0d6b067c37a378025e2 (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
[
  (function_definition)
  (variable_declaration)
  (local_variable_declaration)
  (field)
  (local_function)
  (function)
  (if_statement)
  (for_statement)
  (for_in_statement)
  (repeat_statement)
  (return_statement)
  (while_statement)
  (table)
  (arguments)
  (do_statement)
] @indent

[
  "end"
  "until"
  "}"
  ")"
] @outdent