mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Implement simple indents.scm for Elixir (#4821)
This commit is contained in:
parent
117239ea45
commit
420e33a600
@ -25,7 +25,7 @@
|
|||||||
| edoc | ✓ | | | |
|
| edoc | ✓ | | | |
|
||||||
| eex | ✓ | | | |
|
| eex | ✓ | | | |
|
||||||
| ejs | ✓ | | | |
|
| ejs | ✓ | | | |
|
||||||
| elixir | ✓ | ✓ | | `elixir-ls` |
|
| elixir | ✓ | ✓ | ✓ | `elixir-ls` |
|
||||||
| elm | ✓ | | | `elm-language-server` |
|
| elm | ✓ | | | `elm-language-server` |
|
||||||
| elvish | ✓ | | | `elvish` |
|
| elvish | ✓ | | | `elvish` |
|
||||||
| env | ✓ | | | |
|
| 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…
Reference in New Issue
Block a user