{ "information_for_contributors": [ "This file has been converted from https://github.com/textmate/lua.tmbundle/blob/master/Syntaxes/Lua.plist", "If you want to provide a fix or improvement, please create a pull request against the original repository.", "Once accepted there, we are happy to receive an update request." ], "version": "https://github.com/textmate/lua.tmbundle/commit/42da2c6ff5d86c068f72520f856190f413911a80", "name": "Lua", "scopeName": "source.lua", "comment": "Lua Syntax: version 0.8", "patterns": [ { "begin": "\\b((local\\b)\\s+)?(function)\\s*(\\s+[a-zA-Z_][a-zA-Z0-9_]*(\\.[a-zA-Z_][a-zA-Z0-9_]*)*(:[a-zA-Z_][a-zA-Z0-9_]*)?\\s*)?(\\()", "beginCaptures": { "1": { "name": "storage.modifier.local.lua" }, "3": { "name": "keyword.control.lua" }, "4": { "name": "entity.name.function.lua" }, "5": { "name": "punctuation.definition.parameters.begin.lua" } }, "end": "\\)", "endCaptures": { "0": { "name": "punctuation.definition.parameters.end.lua" } }, "name": "meta.function.lua", "patterns": [ { "match": "[a-zA-Z_][a-zA-Z0-9_]*", "name": "variable.parameter.function.lua" } ] }, { "match": "(?=?|(?