summaryrefslogtreecommitdiff
path: root/runtime/queries/lua/indents.scm
diff options
context:
space:
mode:
authorLennard Hofmann2022-10-12 13:45:56 +0000
committerGitHub2022-10-12 13:45:56 +0000
commita24fae3b3cca81a4716bc92915005cd424ccf23b (patch)
treea3534f397bfe1bad40538d2793973516518c1bc0 /runtime/queries/lua/indents.scm
parent68909dcef46c7b68f1a92cdc7fd04eb89549b6fb (diff)
Update tree-sitter-lua and add textobjects for Lua (#3552)
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