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.
13 lines
589 B
TOML
13 lines
589 B
TOML
name = "HTML"
|
|
path_suffixes = ["html"]
|
|
autoclose_before = ">})"
|
|
block_comment = ["<!-- ", " -->"]
|
|
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 = ["comment", "string"] },
|
|
{ start = "<", end = ">", close = true, newline = true, not_in = ["comment", "string"] },
|
|
{ start = "!--", end = " --", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|