aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gdscript/folds.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/gdscript/folds.scm')
-rw-r--r--queries/gdscript/folds.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/queries/gdscript/folds.scm b/queries/gdscript/folds.scm
index 946b0fea3..828ef807f 100644
--- a/queries/gdscript/folds.scm
+++ b/queries/gdscript/folds.scm
@@ -2,7 +2,6 @@
; Body fold will "join" the next adjacent fold into a SUPER fold.
; This is an issue with the grammar.
; (body)
-
(if_statement)
(elif_clause)
(else_clause)
@@ -16,10 +15,11 @@
(lambda)
(constructor_definition)
] @fold
-
; It's nice to be able to fold the if/elif/else clauses and the entire
; if_statement.
-(if_statement (body) @fold)
+(if_statement
+ (body) @fold)
; Fold strings that are probably doc strings.
-(expression_statement (string) @fold)
+(expression_statement
+ (string) @fold)