aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ql/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ql/indents.scm')
-rw-r--r--runtime/queries/ql/indents.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/queries/ql/indents.scm b/runtime/queries/ql/indents.scm
new file mode 100644
index 000000000..1a4a1bdea
--- /dev/null
+++ b/runtime/queries/ql/indents.scm
@@ -0,0 +1,23 @@
+[
+ (module)
+ (dataclass)
+ (classMember)
+ (classlessPredicate)
+ (quantified)
+] @indent.begin
+
+[
+ ")"
+ "}"
+] @indent.end
+
+[
+ ")"
+ "}"
+] @indent.branch
+
+[
+ (block_comment)
+ (line_comment)
+ (qldoc)
+] @indent.ignore