aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rbs/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rbs/indents.scm')
-rw-r--r--queries/rbs/indents.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/queries/rbs/indents.scm b/queries/rbs/indents.scm
new file mode 100644
index 000000000..f6da5b10b
--- /dev/null
+++ b/queries/rbs/indents.scm
@@ -0,0 +1,24 @@
+[
+ (class_decl)
+ (module_decl)
+ (interface_decl)
+ (parameters)
+ (tuple_type)
+ (record_type)
+] @indent.begin
+
+[
+ "end"
+ ")"
+ "]"
+ "}"
+] @indent.end
+
+[
+ "end"
+ ")"
+ "}"
+ "]"
+] @indent.branch
+
+(comment) @indent.auto