This way, a bracket pair that is disabled in a given scope can still be skipped, if it was auto-closed before that scope existed.
12 lines
490 B
TOML
12 lines
490 B
TOML
name = "Elixir"
|
|
path_suffixes = ["ex", "exs"]
|
|
line_comment = "# "
|
|
autoclose_before = ";:.,=}])>"
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "(", end = ")", close = true, newline = true },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string", "comment"] },
|
|
{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
|
|
]
|