Fixed autoclosing and made it recognize all ZON (Zig Object Notation) files. - Fixed single and double quotes not autoclosing for zig - Fixed ZON file recognition - Removed angle brackets autoclosing in zig as they are not used Release Notes: - N/A
13 lines
496 B
TOML
13 lines
496 B
TOML
name = "Zig"
|
|
grammar = "zig"
|
|
path_suffixes = ["zig", "zon"]
|
|
line_comments = ["// "]
|
|
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"] },
|
|
{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
|
|
]
|