Skip to content

Commit

Permalink
Implement simple indents.scm for Elixir (helix-editor#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraTenshi authored and Shekhinah Memmel committed Dec 11, 2022
1 parent f9a31fd commit 30a5156
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 30a5156

Please sign in to comment.