mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 11:23:10 +03:00
Add ruby indents (#1372)
* Add ruby indents * Include ruby in generated docs
This commit is contained in:
parent
8340d73545
commit
7001665342
@ -34,7 +34,7 @@
|
||||
| protobuf | ✓ | | ✓ | |
|
||||
| python | ✓ | ✓ | ✓ | `pylsp` |
|
||||
| racket | | | | `racket` |
|
||||
| ruby | ✓ | | | `solargraph` |
|
||||
| ruby | ✓ | | ✓ | `solargraph` |
|
||||
| rust | ✓ | ✓ | ✓ | `rust-analyzer` |
|
||||
| scala | ✓ | | ✓ | `metals` |
|
||||
| svelte | ✓ | | ✓ | `svelteserver` |
|
||||
|
25
runtime/queries/ruby/indents.toml
Normal file
25
runtime/queries/ruby/indents.toml
Normal file
@ -0,0 +1,25 @@
|
||||
indent = [
|
||||
"argument_list",
|
||||
"array",
|
||||
"begin",
|
||||
"block",
|
||||
"call",
|
||||
"class",
|
||||
"case",
|
||||
"do_block",
|
||||
"elsif",
|
||||
"if",
|
||||
"hash",
|
||||
"method",
|
||||
"module",
|
||||
"singleton_class",
|
||||
"singleton_method",
|
||||
]
|
||||
|
||||
outdent = [
|
||||
")",
|
||||
"}",
|
||||
"]",
|
||||
"end",
|
||||
"when",
|
||||
]
|
Loading…
Reference in New Issue
Block a user