config.toml

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