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 Frederik Vestre committed Feb 6, 2023
1 parent 8c9f4b6 commit a0d00e2
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 a0d00e2

Please sign in to comment.