This commit is contained in:
2019-02-17 18:07:28 +01:00
parent c69ffb9752
commit 95cff6f702
2301 changed files with 307810 additions and 5 deletions

View File

@@ -5,10 +5,10 @@
"patterns": [
{
"name": "keyword.control",
"match": "\\b(if|while|for|return|in|end|local|true|false|not|then|elseif|break)\\b"
"match": "\\b(if|while|for|return|in|end|local|true|false|not|then|elseif|else|break|yield)\\b"
},
{
"begin": "\\b(?:(local)\\s+)?(function)\\s*(?:\\s+([a-zA-Z_][a-zA-Z0-9_]*(?:([\\.:])[a-zA-Z_][a-zA-Z0-9_]*)?)\\s*)?(\\()",
"begin": "\\b(?:(local)\\s+)?(function|coroutine)\\s*(?:\\s+([a-zA-Z_][a-zA-Z0-9_]*(?:([\\.:])[a-zA-Z_][a-zA-Z0-9_]*)?)\\s*)?(\\()",
"beginCaptures": {
"1": {
"name": "storage.modifier.local"