1name = "Ruby"
2grammar = "ruby"
3path_suffixes = [
4 "rb",
5 "Gemfile",
6 "Guardfile",
7 "rake",
8 "Rakefile",
9 "ru",
10 "thor",
11 "cap",
12 "capfile",
13 "Capfile",
14 "jbuilder",
15 "rabl",
16 "rxml",
17 "builder",
18 "gemspec",
19 "rdoc",
20 "thor",
21 "pryrc",
22 "simplecov",
23]
24first_line_pattern = '^#!.*\bruby\b'
25line_comments = ["# "]
26autoclose_before = ";:.,=}])>"
27brackets = [
28 { start = "{", end = "}", close = true, newline = true },
29 { start = "[", end = "]", close = true, newline = true },
30 { start = "(", end = ")", close = true, newline = true },
31 { start = "\"", end = "\"", close = true, newline = false, not_in = [
32 "comment",
33 "string",
34 ] },
35 { start = "'", end = "'", close = true, newline = false, not_in = [
36 "comment",
37 "string",
38 ] },
39]
40collapsed_placeholder = "# ..."