aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/lua/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/lua/indents.scm')
-rw-r--r--runtime/queries/lua/indents.scm10
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/queries/lua/indents.scm b/runtime/queries/lua/indents.scm
index 55a812c5..2e5a108e 100644
--- a/runtime/queries/lua/indents.scm
+++ b/runtime/queries/lua/indents.scm
@@ -1,17 +1,13 @@
[
(function_definition)
- (variable_declaration)
- (local_variable_declaration)
+ (function_declaration)
+ (method_index_expression)
(field)
- (local_function)
- (function)
(if_statement)
(for_statement)
- (for_in_statement)
(repeat_statement)
- (return_statement)
(while_statement)
- (table)
+ (table_constructor)
(arguments)
(do_statement)
] @indent