feat: add rbs parser support (#5745)

This commit is contained in:
Tomohiro Hashidate 2023-12-01 01:22:29 +09:00 committed by GitHub
parent 36f81e698e
commit b41bbcbb9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 160 additions and 0 deletions

24
queries/rbs/indents.scm Normal file
View file

@ -0,0 +1,24 @@
[
(class_decl)
(module_decl)
(interface_decl)
(parameters)
(tuple_type)
(record_type)
] @indent.begin
[
"end"
")"
"]"
"}"
] @indent.end
[
"end"
")"
"}"
"]"
] @indent.branch
(comment) @indent.auto