aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/elixir/indents.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/queries/elixir/indents.scm b/runtime/queries/elixir/indents.scm
new file mode 100644
index 00000000..102b1aad
--- /dev/null
+++ b/runtime/queries/elixir/indents.scm
@@ -0,0 +1,13 @@
+[
+ (after_block)
+ (anonymous_function)
+ (catch_block)
+ (do_block)
+ (else_block)
+ (rescue_block)
+ (stab_clause)
+] @indent
+
+[
+ "end"
+] @outdent