Release Notes: - Extracted lua language support into an extension, and improved Lua highlighting and completion label styling. --------- Co-authored-by: Marshall <marshall@zed.dev>
14 lines
518 B
TOML
14 lines
518 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 = false, newline = false, not_in = ["string"] },
|
|
]
|
|
collapsed_placeholder = "--[ ... ]--"
|