Skip to content

Commit a0d00e2

Browse files
SoraTenshiFrederik Vestre
authored andcommitted
Implement simple indents.scm for Elixir (helix-editor#4821)
1 parent 8c9f4b6 commit a0d00e2

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

book/src/generated/lang-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
| edoc || | | |
2626
| eex || | | |
2727
| ejs || | | |
28-
| elixir ||| | `elixir-ls` |
28+
| elixir ||| | `elixir-ls` |
2929
| elm || | | `elm-language-server` |
3030
| elvish || | | `elvish` |
3131
| env || | | |

runtime/queries/elixir/indents.scm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[
2+
(after_block)
3+
(anonymous_function)
4+
(catch_block)
5+
(do_block)
6+
(else_block)
7+
(rescue_block)
8+
(stab_clause)
9+
] @indent
10+
11+
[
12+
"end"
13+
] @outdent

0 commit comments

Comments
 (0)