Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update Lua config.toml (#9260)

Joseph T. Lyons47afc70979b4
diff --git a/crates/languages/src/lua/config.toml b/crates/languages/src/lua/config.toml
index 19577fed913..6c3aee09ea7 100644
--- a/crates/languages/src/lua/config.toml
+++ b/crates/languages/src/lua/config.toml
@@ -2,10 +2,12 @@ name = "Lua"
grammar = "lua"
path_suffixes = ["lua"]
line_comments = ["-- "]
-autoclose_before = ",]}"
+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 = "--[ ... ]--"