Implement simple indents.scm for Elixir (#4821)
This commit is contained in:
parent
117239ea45
commit
420e33a600
2 changed files with 14 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
| edoc | ✓ | | | |
|
||||
| eex | ✓ | | | |
|
||||
| ejs | ✓ | | | |
|
||||
| elixir | ✓ | ✓ | | `elixir-ls` |
|
||||
| elixir | ✓ | ✓ | ✓ | `elixir-ls` |
|
||||
| elm | ✓ | | | `elm-language-server` |
|
||||
| elvish | ✓ | | | `elvish` |
|
||||
| env | ✓ | | | |
|
||||
|
|
13
runtime/queries/elixir/indents.scm
Normal file
13
runtime/queries/elixir/indents.scm
Normal file
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
(after_block)
|
||||
(anonymous_function)
|
||||
(catch_block)
|
||||
(do_block)
|
||||
(else_block)
|
||||
(rescue_block)
|
||||
(stab_clause)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"end"
|
||||
] @outdent
|
Loading…
Add table
Reference in a new issue