From 420e33a60064ad86e9f2f8dd29b3938318355673 Mon Sep 17 00:00:00 2001 From: Sora Date: Mon, 21 Nov 2022 01:36:19 +0100 Subject: Implement simple indents.scm for Elixir (#4821) --- runtime/queries/elixir/indents.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/queries/elixir/indents.scm (limited to 'runtime/queries/elixir') 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 -- cgit v1.2.3-70-g09d2