summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syntaxes/lua.tmLanguage.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntaxes/lua.tmLanguage.json b/syntaxes/lua.tmLanguage.json
index 2bdf90e7..e8fff244 100644
--- a/syntaxes/lua.tmLanguage.json
+++ b/syntaxes/lua.tmLanguage.json
@@ -12,7 +12,7 @@
"name": "keyword.control.lua"
}
},
- "end": "(?=\\)|\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in|local|function)\\b)",
+ "end": "(?=\\)|,|{|\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in|local|function)\\b)",
"name": "meta.function.lua",
"patterns": [
{