diff options
author | Stuart Hinson | 2021-12-27 04:07:09 +0000 |
---|---|---|
committer | GitHub | 2021-12-27 04:07:09 +0000 |
commit | 7001665342ade12823fba4f358a7e8efc2245a2b (patch) | |
tree | 59dcd8bad6230d84d87f3ae90e306a8652c18414 /runtime/queries/ruby | |
parent | 8340d73545a0757ff3ddd83d019b3d41a923f017 (diff) |
Add ruby indents (#1372)
* Add ruby indents
* Include ruby in generated docs
Diffstat (limited to 'runtime/queries/ruby')
-rw-r--r-- | runtime/queries/ruby/indents.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/queries/ruby/indents.toml b/runtime/queries/ruby/indents.toml new file mode 100644 index 00000000..b417751f --- /dev/null +++ b/runtime/queries/ruby/indents.toml @@ -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", +] |