Skip to content

Commit

Permalink
Implement simple indents.scm for Elixir (#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraTenshi authored Nov 21, 2022
1 parent 117239e commit 420e33a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
| edoc || | | |
| eex || | | |
| ejs || | | |
| elixir ||| | `elixir-ls` |
| elixir ||| | `elixir-ls` |
| elm || | | `elm-language-server` |
| elvish || | | `elvish` |
| env || | | |
Expand Down
13 changes: 13 additions & 0 deletions runtime/queries/elixir/indents.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
(after_block)
(anonymous_function)
(catch_block)
(do_block)
(else_block)
(rescue_block)
(stab_clause)
] @indent

[
"end"
] @outdent

0 comments on commit 420e33a

Please sign in to comment.