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.
11 lines
461 B
TOML
11 lines
461 B
TOML
name = "CSS"
|
|
path_suffixes = ["css"]
|
|
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"] },
|
|
]
|