aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/lua/indents.scm
blob: 2e5a108e62cf69e30df9ebefb6eeee89a0b76d40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
  (function_definition)
  (function_declaration)
  (method_index_expression)
  (field)
  (if_statement)
  (for_statement)
  (repeat_statement)
  (while_statement)
  (table_constructor)
  (arguments)
  (do_statement)
] @indent

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