diff options
-rw-r--r-- | syntaxes/lua.tmLanguage.json | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/syntaxes/lua.tmLanguage.json b/syntaxes/lua.tmLanguage.json index 044476f4..4bf26842 100644 --- a/syntaxes/lua.tmLanguage.json +++ b/syntaxes/lua.tmLanguage.json @@ -197,21 +197,12 @@ "name": "keyword.local.lua" }, { - "begin": "(?<=local)", - "end": "(?=[a-zA-Z_=])", - "patterns": [ - { - "include": "#comment" - }, - { - "match": "<\\s*([a-zA-Z_][a-zA-Z0-9_]*)", - "captures": { - "1": { - "name": "string.tag.lua" - } - } + "match": "<\\s*(const|close)\\s*\\>", + "captures": { + "1": { + "name": "string.tag.lua" } - ] + } }, { "match": "\\b(function)\\b", |