14 lines
517 B
TOML
14 lines
517 B
TOML
name = "Lua"
|
|
grammar = "lua"
|
|
path_suffixes = ["lua"]
|
|
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"] },
|
|
]
|
|
collapsed_placeholder = "--[ ... ]--"
|