aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gdscript/indents.scm
diff options
context:
space:
mode:
authorEmmChriss2022-04-15 15:35:23 +0000
committerGitHub2022-04-15 15:35:23 +0000
commit50df92481103ec4b2d2549eebc0dcbae73ed8a20 (patch)
treea441fc4aecd0bbe849e66d3b801447826928dc32 /runtime/queries/gdscript/indents.scm
parent893963df0ad8596034522cd18570517f823d7123 (diff)
gdscript support (#1985)
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