Update Lua config.toml (#9260)

Joseph T. Lyons created

Release Notes:

- Added autoclosing of `(` and `'` in Lua.

Change summary

crates/languages/src/lua/config.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Detailed changes

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 = "--[ ... ]--"