Initial
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user