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
10 lines
304 B
TOML
10 lines
304 B
TOML
name = "rbs"
|
|
grammar = "rbs"
|
|
path_suffixes = ["rbs"]
|
|
autoclose_before = "]})"
|
|
brackets = [
|
|
{ start = "(", end = ")", close = true, newline = false },
|
|
{ start = "{", end = "}", close = true, newline = false },
|
|
{ start = "[", end = "]", close = true, newline = false },
|
|
]
|
|
line_comments = ["#"]
|