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 | ✓ | | ✓ | |
|
| protobuf | ✓ | | ✓ | |
|
||||||
| python | ✓ | ✓ | ✓ | `pylsp` |
|
| python | ✓ | ✓ | ✓ | `pylsp` |
|
||||||
| racket | | | | `racket` |
|
| racket | | | | `racket` |
|
||||||
| ruby | ✓ | | | `solargraph` |
|
| ruby | ✓ | | ✓ | `solargraph` |
|
||||||
| rust | ✓ | ✓ | ✓ | `rust-analyzer` |
|
| rust | ✓ | ✓ | ✓ | `rust-analyzer` |
|
||||||
| scala | ✓ | | ✓ | `metals` |
|
| scala | ✓ | | ✓ | `metals` |
|
||||||
| svelte | ✓ | | ✓ | `svelteserver` |
|
| 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