Skip to content

Commit

Permalink
Implement simple indents.scm for Elixir
Browse files Browse the repository at this point in the history
Add docgen
  • Loading branch information
SoraTenshi committed Nov 19, 2022
1 parent 598bd8b commit c0cbc31
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)
"->"
] @indent

[
"end"
] @outdent

0 comments on commit c0cbc31

Please sign in to comment.