mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
45afe9dffa
Hi, this pull request adds support for RBS files for the Ruby language. [RBS](https://github.com/ruby/rbs) is a language to describe the structure of Ruby programs. This pull request: - adds a new grammar to the Ruby extension for RBS https://github.com/joker1007/tree-sitter-rbs - configures the Ruby extension to use the added grammar. Release Notes: - N/A
14 lines
216 B
Scheme
14 lines
216 B
Scheme
[
|
|
(class_decl)
|
|
(module_decl)
|
|
(interface_decl)
|
|
(parameters)
|
|
(tuple_type)
|
|
(record_type)
|
|
] @indent.begin
|
|
|
|
(_ "[" "]" @end) @indent
|
|
(_ "{" "}" @end) @indent
|
|
(_ "(" ")" @end) @indent
|
|
|
|
(comment) @indent.ignore
|