aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gdscript/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/gdscript/indents.scm')
-rw-r--r--runtime/queries/gdscript/indents.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/indents.scm b/runtime/queries/gdscript/indents.scm
new file mode 100644
index 00000000..01439e1c
--- /dev/null
+++ b/runtime/queries/gdscript/indents.scm
@@ -0,0 +1,26 @@
+[
+ (_compound_statement)
+ (match_statement)
+ (parenthesized_expression)
+
+ (pattern_array)
+ (pattern_dictionary)
+ (argument_list)
+ (binary_operator)
+
+ (parameters)
+ (body)
+ (enumerator_list)
+
+ (function_definition)
+ (constructor_definition)
+ (class_definition)
+] @indent
+
+[
+ ")",
+ "]",
+ "}",
+ (return_statement)
+ (pass_statement)
+] @outdent