Update grammars

This commit is contained in:
Alex Ross 2019-10-21 11:21:03 +02:00
parent fd2133691a
commit a0bc43dd73
22 changed files with 23052 additions and 22553 deletions

View file

@ -6,11 +6,11 @@
"git": {
"name": "jeff-hykin/cpp-textmate-grammar",
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
"commitHash": "dd94b6a93799f2bce7e29b2515d96553e34574b0"
"commitHash": "aacc3b93c9e917271969c49cbcecf3f08e209c47"
}
},
"license": "MIT",
"version": "1.14.6",
"version": "1.14.9",
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
},
{
@ -42,4 +42,4 @@
}
],
"version": 1
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -606,7 +606,7 @@
},
{
"c": "static",
"t": "source.cpp meta.preprocessor.macro.cpp meta.block.namespace.cpp meta.body.namespace.cpp meta.function.definition.cpp meta.head.function.definition.cpp storage.modifier.static.cpp",
"t": "source.cpp meta.preprocessor.macro.cpp meta.block.namespace.cpp meta.body.namespace.cpp meta.function.definition.cpp storage.modifier.static.cpp",
"r": {
"dark_plus": "storage.modifier: #569CD6",
"light_plus": "storage.modifier: #0000FF",

View file

@ -6,7 +6,7 @@
"git": {
"name": "ionide/ionide-fsgrammar",
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
"commitHash": "687070defaf355022a5d82d091258eccfea7317c"
"commitHash": "b4f43aafa6f843707410fabe9f904ec04fa536dc"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"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/ionide/ionide-fsgrammar/commit/687070defaf355022a5d82d091258eccfea7317c",
"version": "https://github.com/ionide/ionide-fsgrammar/commit/b4f43aafa6f843707410fabe9f904ec04fa536dc",
"name": "fsharp",
"scopeName": "source.fsharp",
"patterns": [
@ -937,10 +937,10 @@
},
{
"name": "binding.fsharp",
"begin": "\\b((get|set)\\s*(?=\\())(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
"begin": "(?<=with|and)\\s*\\b((get|set)\\s*(?=\\())(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
"end": "\\s*(=|\\n+=|(?<=\\=))",
"beginCaptures": {
"3": {
"4": {
"name": "variable.fsharp"
}
},
@ -1240,11 +1240,11 @@
},
{
"name": "constant.character.string.escape.fsharp",
"match": "\\\\([\\\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})"
"match": "\\\\([\\\\''ntbr]|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})"
},
{
"name": "invalid.illeagal.character.string.fsharp",
"match": "\\\\(?![\\\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})."
"match": "\\\\(?![\\\\''ntbr]|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})."
},
{
"include": "#string_formatter"

View file

@ -605,18 +605,7 @@
}
},
{
"c": " ",
"t": "source.fsharp",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF"
}
},
{
"c": "get",
"c": " get",
"t": "source.fsharp binding.fsharp",
"r": {
"dark_plus": "default: #D4D4D4",
@ -693,18 +682,7 @@
}
},
{
"c": " ",
"t": "source.fsharp",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF"
}
},
{
"c": "set",
"c": " set",
"t": "source.fsharp binding.fsharp",
"r": {
"dark_plus": "default: #D4D4D4",

View file

@ -6,7 +6,7 @@
"git": {
"name": "atom/language-java",
"repositoryUrl": "https://github.com/atom/language-java",
"commitHash": "ed8ad7451b4d0454374885a102dbe63befdea509"
"commitHash": "123beb50115b0bfb0db8f2325df6d05fb8a016a8"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"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/atom/language-java/commit/ed8ad7451b4d0454374885a102dbe63befdea509",
"version": "https://github.com/atom/language-java/commit/123beb50115b0bfb0db8f2325df6d05fb8a016a8",
"name": "Java",
"scopeName": "source.java",
"patterns": [
@ -582,7 +582,7 @@
}
},
{
"match": "{(@link)\\s+(\\S+)?#([\\w$]+\\s*\\([^\\(\\)]*\\)).*}",
"match": "{(@link)\\s+(\\S+)?#([\\w$]+\\s*\\([^\\(\\)]*\\)).*?}",
"captures": {
"1": {
"name": "keyword.other.documentation.javadoc.java"

View file

@ -5,7 +5,7 @@
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",
"name": "JSON (JavaScript Next)",
"name": "JSON (Javascript Next)",
"scopeName": "source.json",
"patterns": [
{
@ -210,4 +210,4 @@
]
}
}
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "vscode-logfile-highlighter",
"repositoryUrl": "https://github.com/emilast/vscode-logfile-highlighter",
"commitHash": "30a19d24b9a0070b0fab5eef45f89c92e7cd71ea"
"commitHash": "e90aa2554b439827f125fd60ff6d7773fc582fcc"
}
},
"license": "MIT",
"version": "2.4.1"
"version": "2.5.0"
}
],
"version": 1

View file

@ -4,18 +4,34 @@
"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/emilast/vscode-logfile-highlighter/commit/30a19d24b9a0070b0fab5eef45f89c92e7cd71ea",
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/e90aa2554b439827f125fd60ff6d7773fc582fcc",
"name": "Log file",
"scopeName": "text.log",
"patterns": [
{
"match": "\\b(DEBUG|Debug|Trace)\\b|(?i)\\b(debug)\\:",
"match": "\\b(Trace)\\b:",
"name": "comment log.verbose"
},
{
"match": "(?i)\\[(verbose|verb|vrb|vb|v)\\]",
"name": "comment log.verbose"
},
{
"match": "\\bV/",
"name": "comment log.verbose"
},
{
"match": "\\b(DEBUG|Debug)\\b|(?i)\\b(debug)\\:",
"name": "markup.changed log.debug"
},
{
"match": "(?i)\\[(debug|dbug|dbg|de|d)\\]",
"name": "markup.changed log.debug"
},
{
"match": "\\bD/",
"name": "markup.changed log.debug"
},
{
"match": "\\b(HINT|INFO|INFORMATION|Info|NOTICE)\\b|(?i)\\b(info|information)\\:",
"name": "markup.inserted log.info"
@ -24,6 +40,10 @@
"match": "(?i)\\[(information|info|inf|in|i)\\]",
"name": "markup.inserted log.info"
},
{
"match": "\\bI/",
"name": "markup.inserted log.info"
},
{
"match": "\\b(WARNING|WARN|Warn)\\b|(?i)\\b(warning)\\:",
"name": "markup.deleted log.warning"
@ -32,6 +52,10 @@
"match": "(?i)\\[(warning|warn|wrn|wn|w)\\]",
"name": "markup.deleted log.warning"
},
{
"match": "\\bW/",
"name": "markup.deleted log.warning"
},
{
"match": "\\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|Error)\\b|(?i)\\b(error)\\:",
"name": "string.regexp, strong log.error"
@ -40,6 +64,10 @@
"match": "(?i)\\[(error|eror|err|er|e|fatal|fatl|ftl|fa|f)\\]",
"name": "string.regexp, strong log.error"
},
{
"match": "\\bE/",
"name": "string.regexp, strong log.error"
},
{
"match": "\\b\\d{4}-\\d{2}-\\d{2}(T|\\b)",
"name": "comment log.date"

View file

@ -6,7 +6,7 @@
"git": {
"name": "jeff-hykin/cpp-textmate-grammar",
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
"commitHash": "218448eb46260864352d569db13be6cb20767e92"
"commitHash": "bc7dedd28eebe52b374744d3fb34d77ff441569e"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"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/jeff-hykin/cpp-textmate-grammar/commit/218448eb46260864352d569db13be6cb20767e92",
"version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/bc7dedd28eebe52b374744d3fb34d77ff441569e",
"name": "Objective-C++",
"scopeName": "source.objcpp",
"patterns": [
@ -293,6 +293,186 @@
}
],
"repository": {
"bracketed_content": {
"begin": "\\[",
"beginCaptures": {
"0": {
"name": "punctuation.section.scope.begin.objcpp"
}
},
"end": "\\]",
"endCaptures": {
"0": {
"name": "punctuation.section.scope.end.objcpp"
}
},
"name": "meta.bracketed.objcpp",
"patterns": [
{
"begin": "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objcpp"
},
"2": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"end": "(?=\\])",
"name": "meta.function-call.predicate.objcpp",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\bargument(Array|s)(:)",
"name": "support.function.any-method.name-of-parameter.objcpp"
},
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\b\\w+(:)",
"name": "invalid.illegal.unknown-method.objcpp"
},
{
"begin": "@\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.objcpp"
}
},
"end": "\"",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.objcpp"
}
},
"name": "string.quoted.double.objcpp",
"patterns": [
{
"match": "\\b(AND|OR|NOT|IN)\\b",
"name": "keyword.operator.logical.predicate.cocoa.objcpp"
},
{
"match": "\\b(ALL|ANY|SOME|NONE)\\b",
"name": "constant.language.predicate.cocoa.objcpp"
},
{
"match": "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
"name": "constant.language.predicate.cocoa.objcpp"
},
{
"match": "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
"name": "keyword.operator.comparison.predicate.cocoa.objcpp"
},
{
"match": "\\bC(ASEINSENSITIVE|I)\\b",
"name": "keyword.other.modifier.predicate.cocoa.objcpp"
},
{
"match": "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
"name": "keyword.other.predicate.cocoa.objcpp"
},
{
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
"name": "constant.character.escape.objcpp"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objcpp"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objcpp"
},
"2": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"end": "(?=\\])",
"name": "meta.function-call.objcpp",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\b\\w+(:)",
"name": "support.function.any-method.name-of-parameter.objcpp"
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$self"
}
]
},
"c_functions": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.whitespace.support.function.leading.objcpp"
},
"2": {
"name": "support.function.C99.objcpp"
}
},
"match": "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
},
{
"captures": {
"1": {
"name": "punctuation.whitespace.function-call.leading.objcpp"
},
"2": {
"name": "support.function.any-method.objcpp"
},
"3": {
"name": "punctuation.definition.parameters.objcpp"
}
},
"match": "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
"name": "meta.function-call.objcpp"
}
]
},
"c_lang": {
"patterns": [
{
@ -2876,6 +3056,47 @@
}
}
},
"comment": {
"patterns": [
{
"begin": "/\\*",
"captures": {
"0": {
"name": "punctuation.definition.comment.objcpp"
}
},
"end": "\\*/",
"name": "comment.block.objcpp"
},
{
"begin": "(^[ \\t]+)?(?=//)",
"beginCaptures": {
"1": {
"name": "punctuation.whitespace.comment.leading.objcpp"
}
},
"end": "(?!\\G)",
"patterns": [
{
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.objcpp"
}
},
"end": "\\n",
"name": "comment.line.double-slash.objcpp",
"patterns": [
{
"match": "(?>\\\\\\s*\\n)",
"name": "punctuation.separator.continuation.objcpp"
}
]
}
]
}
]
},
"cpp_lang": {
"patterns": [
{
@ -6365,255 +6586,6 @@
}
}
},
"string_escaped_char": {
"patterns": [
{
"match": "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
"name": "constant.character.escape.objcpp"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objcpp"
}
]
},
"string_placeholder": {
"patterns": [
{
"match": "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
"name": "constant.other.placeholder.objcpp"
},
{
"match": "(%)(?!\"\\s*(PRI|SCN))",
"captures": {
"1": {
"name": "invalid.illegal.placeholder.objcpp"
}
}
}
]
},
"bracketed_content": {
"begin": "\\[",
"beginCaptures": {
"0": {
"name": "punctuation.section.scope.begin.objcpp"
}
},
"end": "\\]",
"endCaptures": {
"0": {
"name": "punctuation.section.scope.end.objcpp"
}
},
"name": "meta.bracketed.objcpp",
"patterns": [
{
"begin": "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objcpp"
},
"2": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"end": "(?=\\])",
"name": "meta.function-call.predicate.objcpp",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\bargument(Array|s)(:)",
"name": "support.function.any-method.name-of-parameter.objcpp"
},
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\b\\w+(:)",
"name": "invalid.illegal.unknown-method.objcpp"
},
{
"begin": "@\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.objcpp"
}
},
"end": "\"",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.objcpp"
}
},
"name": "string.quoted.double.objcpp",
"patterns": [
{
"match": "\\b(AND|OR|NOT|IN)\\b",
"name": "keyword.operator.logical.predicate.cocoa.objcpp"
},
{
"match": "\\b(ALL|ANY|SOME|NONE)\\b",
"name": "constant.language.predicate.cocoa.objcpp"
},
{
"match": "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
"name": "constant.language.predicate.cocoa.objcpp"
},
{
"match": "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
"name": "keyword.operator.comparison.predicate.cocoa.objcpp"
},
{
"match": "\\bC(ASEINSENSITIVE|I)\\b",
"name": "keyword.other.modifier.predicate.cocoa.objcpp"
},
{
"match": "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
"name": "keyword.other.predicate.cocoa.objcpp"
},
{
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
"name": "constant.character.escape.objcpp"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objcpp"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objcpp"
},
"2": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"end": "(?=\\])",
"name": "meta.function-call.objcpp",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objcpp"
}
},
"match": "\\b\\w+(:)",
"name": "support.function.any-method.name-of-parameter.objcpp"
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$self"
}
]
},
"c_functions": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.whitespace.support.function.leading.objcpp"
},
"2": {
"name": "support.function.C99.objcpp"
}
},
"match": "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
},
{
"captures": {
"1": {
"name": "punctuation.whitespace.function-call.leading.objcpp"
},
"2": {
"name": "support.function.any-method.objcpp"
},
"3": {
"name": "punctuation.definition.parameters.objcpp"
}
},
"match": "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
"name": "meta.function-call.objcpp"
}
]
},
"comment": {
"patterns": [
{
"begin": "/\\*",
"captures": {
"0": {
"name": "punctuation.definition.comment.objcpp"
}
},
"end": "\\*/",
"name": "comment.block.objcpp"
},
{
"begin": "(^[ \\t]+)?(?=//)",
"beginCaptures": {
"1": {
"name": "punctuation.whitespace.comment.leading.objcpp"
}
},
"end": "(?!\\G)",
"patterns": [
{
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.objcpp"
}
},
"end": "\\n",
"name": "comment.line.double-slash.objcpp",
"patterns": [
{
"match": "(?>\\\\\\s*\\n)",
"name": "punctuation.separator.continuation.objcpp"
}
]
}
]
}
]
},
"disabled": {
"begin": "^\\s*#\\s*if(n?def)?\\b.*$",
"comment": "eat nested preprocessor if(def)s",
@ -7093,6 +7065,34 @@
"name": "variable.language.objcpp"
}
]
},
"string_escaped_char": {
"patterns": [
{
"match": "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
"name": "constant.character.escape.objcpp"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objcpp"
}
]
},
"string_placeholder": {
"patterns": [
{
"match": "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
"name": "constant.other.placeholder.objcpp"
},
{
"match": "(%)(?!\"\\s*(PRI|SCN))",
"captures": {
"1": {
"name": "invalid.illegal.placeholder.objcpp"
}
}
}
]
}
}
}

View file

@ -4,7 +4,7 @@
"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/jeff-hykin/cpp-textmate-grammar/commit/218448eb46260864352d569db13be6cb20767e92",
"version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/bc7dedd28eebe52b374744d3fb34d77ff441569e",
"name": "Objective-C",
"scopeName": "source.objc",
"patterns": [
@ -290,6 +290,186 @@
}
],
"repository": {
"bracketed_content": {
"begin": "\\[",
"beginCaptures": {
"0": {
"name": "punctuation.section.scope.begin.objc"
}
},
"end": "\\]",
"endCaptures": {
"0": {
"name": "punctuation.section.scope.end.objc"
}
},
"name": "meta.bracketed.objc",
"patterns": [
{
"begin": "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objc"
},
"2": {
"name": "punctuation.separator.arguments.objc"
}
},
"end": "(?=\\])",
"name": "meta.function-call.predicate.objc",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\bargument(Array|s)(:)",
"name": "support.function.any-method.name-of-parameter.objc"
},
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\b\\w+(:)",
"name": "invalid.illegal.unknown-method.objc"
},
{
"begin": "@\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.objc"
}
},
"end": "\"",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.objc"
}
},
"name": "string.quoted.double.objc",
"patterns": [
{
"match": "\\b(AND|OR|NOT|IN)\\b",
"name": "keyword.operator.logical.predicate.cocoa.objc"
},
{
"match": "\\b(ALL|ANY|SOME|NONE)\\b",
"name": "constant.language.predicate.cocoa.objc"
},
{
"match": "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
"name": "constant.language.predicate.cocoa.objc"
},
{
"match": "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
"name": "keyword.operator.comparison.predicate.cocoa.objc"
},
{
"match": "\\bC(ASEINSENSITIVE|I)\\b",
"name": "keyword.other.modifier.predicate.cocoa.objc"
},
{
"match": "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
"name": "keyword.other.predicate.cocoa.objc"
},
{
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
"name": "constant.character.escape.objc"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objc"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objc"
},
"2": {
"name": "punctuation.separator.arguments.objc"
}
},
"end": "(?=\\])",
"name": "meta.function-call.objc",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\b\\w+(:)",
"name": "support.function.any-method.name-of-parameter.objc"
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$self"
}
]
},
"c_functions": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.whitespace.support.function.leading.objc"
},
"2": {
"name": "support.function.C99.objc"
}
},
"match": "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
},
{
"captures": {
"1": {
"name": "punctuation.whitespace.function-call.leading.objc"
},
"2": {
"name": "support.function.any-method.objc"
},
"3": {
"name": "punctuation.definition.parameters.objc"
}
},
"match": "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
"name": "meta.function-call.objc"
}
]
},
"c_lang": {
"patterns": [
{
@ -2873,214 +3053,6 @@
}
}
},
"string_escaped_char": {
"patterns": [
{
"match": "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
"name": "constant.character.escape.objc"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objc"
}
]
},
"string_placeholder": {
"patterns": [
{
"match": "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
"name": "constant.other.placeholder.objc"
},
{
"match": "(%)(?!\"\\s*(PRI|SCN))",
"captures": {
"1": {
"name": "invalid.illegal.placeholder.objc"
}
}
}
]
},
"bracketed_content": {
"begin": "\\[",
"beginCaptures": {
"0": {
"name": "punctuation.section.scope.begin.objc"
}
},
"end": "\\]",
"endCaptures": {
"0": {
"name": "punctuation.section.scope.end.objc"
}
},
"name": "meta.bracketed.objc",
"patterns": [
{
"begin": "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objc"
},
"2": {
"name": "punctuation.separator.arguments.objc"
}
},
"end": "(?=\\])",
"name": "meta.function-call.predicate.objc",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\bargument(Array|s)(:)",
"name": "support.function.any-method.name-of-parameter.objc"
},
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\b\\w+(:)",
"name": "invalid.illegal.unknown-method.objc"
},
{
"begin": "@\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.objc"
}
},
"end": "\"",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.objc"
}
},
"name": "string.quoted.double.objc",
"patterns": [
{
"match": "\\b(AND|OR|NOT|IN)\\b",
"name": "keyword.operator.logical.predicate.cocoa.objc"
},
{
"match": "\\b(ALL|ANY|SOME|NONE)\\b",
"name": "constant.language.predicate.cocoa.objc"
},
{
"match": "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
"name": "constant.language.predicate.cocoa.objc"
},
{
"match": "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
"name": "keyword.operator.comparison.predicate.cocoa.objc"
},
{
"match": "\\bC(ASEINSENSITIVE|I)\\b",
"name": "keyword.other.modifier.predicate.cocoa.objc"
},
{
"match": "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
"name": "keyword.other.predicate.cocoa.objc"
},
{
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
"name": "constant.character.escape.objc"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objc"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
"beginCaptures": {
"1": {
"name": "support.function.any-method.objc"
},
"2": {
"name": "punctuation.separator.arguments.objc"
}
},
"end": "(?=\\])",
"name": "meta.function-call.objc",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.separator.arguments.objc"
}
},
"match": "\\b\\w+(:)",
"name": "support.function.any-method.name-of-parameter.objc"
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$base"
}
]
},
{
"include": "#special_variables"
},
{
"include": "#c_functions"
},
{
"include": "$self"
}
]
},
"c_functions": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.whitespace.support.function.leading.objc"
},
"2": {
"name": "support.function.C99.objc"
}
},
"match": "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
},
{
"captures": {
"1": {
"name": "punctuation.whitespace.function-call.leading.objc"
},
"2": {
"name": "support.function.any-method.objc"
},
"3": {
"name": "punctuation.definition.parameters.objc"
}
},
"match": "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
"name": "meta.function-call.objc"
}
]
},
"comment": {
"patterns": [
{
@ -3601,6 +3573,34 @@
"name": "variable.language.objc"
}
]
},
"string_escaped_char": {
"patterns": [
{
"match": "(?x)\\\\ (\n\\\\\t\t\t |\n[abefnprtv'\"?] |\n[0-3]\\d{,2}\t |\n[4-7]\\d?\t\t|\nx[a-fA-F0-9]{,2} |\nu[a-fA-F0-9]{,4} |\nU[a-fA-F0-9]{,8} )",
"name": "constant.character.escape.objc"
},
{
"match": "\\\\.",
"name": "invalid.illegal.unknown-escape.objc"
}
]
},
"string_placeholder": {
"patterns": [
{
"match": "(?x) %\n(\\d+\\$)?\t\t\t\t\t\t # field (argument #)\n[#0\\- +']*\t\t\t\t\t\t # flags\n[,;:_]?\t\t\t\t\t\t\t # separator character (AltiVec)\n((-?\\d+)|\\*(-?\\d+\\$)?)?\t\t # minimum field width\n(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?\t# precision\n(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n[diouxXDOUeEfFgGaACcSspn%]\t\t # conversion type",
"name": "constant.other.placeholder.objc"
},
{
"match": "(%)(?!\"\\s*(PRI|SCN))",
"captures": {
"1": {
"name": "invalid.illegal.placeholder.objc"
}
}
}
]
}
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "language-php",
"repositoryUrl": "https://github.com/atom/language-php",
"commitHash": "0efbd42e73b52347f95ac5f00c9f288ed4958832"
"commitHash": "43a7b842fb58ac7561184db142344a1b127e0d52"
}
},
"license": "MIT",
"version": "0.44.1"
"version": "0.44.2"
}
],
"version": 1

View file

@ -4,7 +4,7 @@
"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/atom/language-php/commit/0efbd42e73b52347f95ac5f00c9f288ed4958832",
"version": "https://github.com/atom/language-php/commit/43a7b842fb58ac7561184db142344a1b127e0d52",
"scopeName": "source.php",
"patterns": [
{
@ -448,6 +448,9 @@
"end": "(?={)",
"name": "meta.function.closure.php",
"patterns": [
{
"include": "#comments"
},
{
"begin": "\\(",
"beginCaptures": {
@ -2736,7 +2739,7 @@
"name": "support.function.enchant.php"
},
{
"match": "(?i)\\bsplit(i)?|sql_regcase|ereg(i)?(_replace)?\\b",
"match": "(?i)\\b(split(i)?|sql_regcase|ereg(i)?(_replace)?)\\b",
"name": "support.function.ereg.php"
},
{
@ -2744,7 +2747,7 @@
"name": "support.function.errorfunc.php"
},
{
"match": "(?i)\\bshell_exec|system|passthru|proc_(nice|close|terminate|open|get_status)|escapeshell(arg|cmd)|exec\\b",
"match": "(?i)\\b(shell_exec|system|passthru|proc_(nice|close|terminate|open|get_status)|escapeshell(arg|cmd)|exec)\\b",
"name": "support.function.exec.php"
},
{
@ -3315,7 +3318,7 @@
"name": "keyword.operator.ternary.php"
}
},
"end": ":",
"end": "(?<!:):(?!:)",
"endCaptures": {
"0": {
"name": "keyword.operator.ternary.php"

View file

@ -6,7 +6,7 @@
"git": {
"name": "MagicStack/MagicPython",
"repositoryUrl": "https://github.com/MagicStack/MagicPython",
"commitHash": "38422d302fe0b3e7716d26ce8cd7d0b9685f3a38"
"commitHash": "c0f8d514bbe6e9d3899f2b002bcd6971aef5e34b"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"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/MagicStack/MagicPython/commit/38422d302fe0b3e7716d26ce8cd7d0b9685f3a38",
"version": "https://github.com/MagicStack/MagicPython/commit/c0f8d514bbe6e9d3899f2b002bcd6971aef5e34b",
"name": "MagicPython",
"scopeName": "source.python",
"patterns": [
@ -374,6 +374,7 @@
]
},
"member-access": {
"name": "meta.member.access.python",
"begin": "(\\.)\\s*(?!\\.)",
"end": "(?x)\n # stop when you've just read non-whitespace followed by non-word\n # i.e. when finished reading an identifier or function call\n (?<=\\S)(?=\\W) |\n # stop when seeing the start of something that's not a word,\n # i.e. when seeing a non-identifier\n (^|(?<=\\s))(?=[^\\\\\\w\\s]) |\n $\n",
"beginCaptures": {
@ -1067,6 +1068,7 @@
}
},
"member-access-class": {
"name": "meta.member.access.python",
"begin": "(\\.)\\s*(?!\\.)",
"end": "(?<=\\S)(?=\\W)|$",
"beginCaptures": {

View file

@ -287,7 +287,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -298,7 +298,7 @@
},
{
"c": "request",
"t": "source.python",
"t": "source.python meta.member.access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -309,7 +309,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -320,7 +320,7 @@
},
{
"c": "META",
"t": "source.python constant.other.caps.python",
"t": "source.python meta.member.access.python constant.other.caps.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -331,7 +331,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -342,7 +342,7 @@
},
{
"c": "items",
"t": "source.python meta.function-call.python meta.function-call.generic.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.generic.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -353,7 +353,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -364,7 +364,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -408,7 +408,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -419,7 +419,7 @@
},
{
"c": "startswith",
"t": "source.python meta.function-call.python meta.function-call.generic.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.generic.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -430,7 +430,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -441,7 +441,7 @@
},
{
"c": "'",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python punctuation.definition.string.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python punctuation.definition.string.begin.python",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
@ -452,7 +452,7 @@
},
{
"c": "HTTP_",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
@ -463,7 +463,7 @@
},
{
"c": "'",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python punctuation.definition.string.end.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.quoted.single.python punctuation.definition.string.end.python",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
@ -474,7 +474,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",

View file

@ -419,7 +419,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -430,7 +430,7 @@
},
{
"c": "size",
"t": "source.python",
"t": "source.python meta.member.access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -2223,7 +2223,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -2234,7 +2234,7 @@
},
{
"c": "next",
"t": "source.python meta.function-call.python meta.function-call.generic.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.generic.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -2245,7 +2245,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -2256,7 +2256,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4533,7 +4533,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4543,7 +4543,18 @@
}
},
{
"c": "fn ",
"c": "fn",
"t": "source.python meta.member.access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF"
}
},
{
"c": " ",
"t": "source.python",
"r": {
"dark_plus": "default: #D4D4D4",
@ -4599,7 +4610,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4609,7 +4620,18 @@
}
},
{
"c": "memo ",
"c": "memo",
"t": "source.python meta.member.access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF"
}
},
{
"c": " ",
"t": "source.python",
"r": {
"dark_plus": "default: #D4D4D4",
@ -4885,7 +4907,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4896,7 +4918,7 @@
},
{
"c": "memo",
"t": "source.python",
"t": "source.python meta.member.access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4940,7 +4962,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4951,7 +4973,7 @@
},
{
"c": "memo",
"t": "source.python meta.item-access.python",
"t": "source.python meta.member.access.python meta.item-access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4962,7 +4984,7 @@
},
{
"c": "[",
"t": "source.python meta.item-access.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.item-access.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4973,7 +4995,7 @@
},
{
"c": "args",
"t": "source.python meta.item-access.python meta.item-access.arguments.python",
"t": "source.python meta.member.access.python meta.item-access.python meta.item-access.arguments.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -4984,7 +5006,7 @@
},
{
"c": "]",
"t": "source.python meta.item-access.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.item-access.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5039,7 +5061,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5050,7 +5072,7 @@
},
{
"c": "fn",
"t": "source.python meta.function-call.python meta.function-call.generic.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.generic.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5061,7 +5083,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5072,7 +5094,7 @@
},
{
"c": "*",
"t": "source.python meta.function-call.python meta.function-call.arguments.python keyword.operator.unpacking.arguments.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python keyword.operator.unpacking.arguments.python",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
@ -5083,7 +5105,7 @@
},
{
"c": "args",
"t": "source.python meta.function-call.python meta.function-call.arguments.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5094,7 +5116,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5149,7 +5171,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5160,7 +5182,7 @@
},
{
"c": "memo",
"t": "source.python meta.item-access.python",
"t": "source.python meta.member.access.python meta.item-access.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5171,7 +5193,7 @@
},
{
"c": "[",
"t": "source.python meta.item-access.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.item-access.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5182,7 +5204,7 @@
},
{
"c": "args",
"t": "source.python meta.item-access.python meta.item-access.arguments.python",
"t": "source.python meta.member.access.python meta.item-access.python meta.item-access.arguments.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5193,7 +5215,7 @@
},
{
"c": "]",
"t": "source.python meta.item-access.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.item-access.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5237,7 +5259,7 @@
},
{
"c": ".",
"t": "source.python punctuation.separator.period.python",
"t": "source.python meta.member.access.python punctuation.separator.period.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5248,7 +5270,7 @@
},
{
"c": "search",
"t": "source.python meta.function-call.python meta.function-call.generic.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.generic.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5259,7 +5281,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python punctuation.definition.arguments.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.begin.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5270,7 +5292,7 @@
},
{
"c": "r",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python storage.type.string.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python storage.type.string.python",
"r": {
"dark_plus": "storage.type: #569CD6",
"light_plus": "storage.type: #0000FF",
@ -5281,7 +5303,7 @@
},
{
"c": "\"",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python punctuation.definition.string.begin.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python punctuation.definition.string.begin.python",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5292,7 +5314,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5303,7 +5325,7 @@
},
{
"c": "[",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.begin.regexp constant.other.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.begin.regexp constant.other.set.regexp",
"r": {
"dark_plus": "punctuation.character.set.begin.regexp: #CE9178",
"light_plus": "punctuation.character.set.begin.regexp: #D16969",
@ -5314,7 +5336,7 @@
},
{
"c": "0-9-",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp constant.character.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp constant.character.set.regexp",
"r": {
"dark_plus": "constant.character.set.regexp: #D16969",
"light_plus": "constant.character.set.regexp: #811F3F",
@ -5325,7 +5347,7 @@
},
{
"c": "]",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.end.regexp constant.other.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.end.regexp constant.other.set.regexp",
"r": {
"dark_plus": "punctuation.character.set.end.regexp: #CE9178",
"light_plus": "punctuation.character.set.end.regexp: #D16969",
@ -5336,7 +5358,7 @@
},
{
"c": "*",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"r": {
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@ -5347,7 +5369,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5358,7 +5380,7 @@
},
{
"c": "\\s",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.escape.special.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.escape.special.regexp",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5369,7 +5391,7 @@
},
{
"c": "*",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"r": {
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@ -5380,7 +5402,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5391,7 +5413,7 @@
},
{
"c": "[",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.begin.regexp constant.other.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.begin.regexp constant.other.set.regexp",
"r": {
"dark_plus": "punctuation.character.set.begin.regexp: #CE9178",
"light_plus": "punctuation.character.set.begin.regexp: #D16969",
@ -5402,7 +5424,7 @@
},
{
"c": "A-Za-z",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp constant.character.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp constant.character.set.regexp",
"r": {
"dark_plus": "constant.character.set.regexp: #D16969",
"light_plus": "constant.character.set.regexp: #811F3F",
@ -5413,7 +5435,7 @@
},
{
"c": "]",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.end.regexp constant.other.set.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python meta.character.set.regexp punctuation.character.set.end.regexp constant.other.set.regexp",
"r": {
"dark_plus": "punctuation.character.set.end.regexp: #CE9178",
"light_plus": "punctuation.character.set.end.regexp: #D16969",
@ -5424,7 +5446,7 @@
},
{
"c": "+",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"r": {
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@ -5435,7 +5457,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5446,7 +5468,7 @@
},
{
"c": ",",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5457,7 +5479,7 @@
},
{
"c": "\\s",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.escape.special.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.escape.special.regexp",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5468,7 +5490,7 @@
},
{
"c": "+",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"r": {
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@ -5479,7 +5501,7 @@
},
{
"c": "(",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5490,7 +5512,7 @@
},
{
"c": ".",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.match.any.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.match.any.regexp",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5501,7 +5523,7 @@
},
{
"c": "*",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python keyword.operator.quantifier.regexp",
"r": {
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@ -5512,7 +5534,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python support.other.parenthesis.regexp punctuation.parenthesis.end.regexp",
"r": {
"dark_plus": "support.other.parenthesis.regexp: #CE9178",
"light_plus": "support.other.parenthesis.regexp: #D16969",
@ -5523,7 +5545,7 @@
},
{
"c": "\"",
"t": "source.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python punctuation.definition.string.end.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python string.regexp.quoted.single.python punctuation.definition.string.end.python",
"r": {
"dark_plus": "string.regexp: #D16969",
"light_plus": "string.regexp: #811F3F",
@ -5534,7 +5556,7 @@
},
{
"c": ",",
"t": "source.python meta.function-call.python meta.function-call.arguments.python punctuation.separator.arguments.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python punctuation.separator.arguments.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5545,7 +5567,7 @@
},
{
"c": " i",
"t": "source.python meta.function-call.python meta.function-call.arguments.python",
"t": "source.python meta.member.access.python meta.function-call.python meta.function-call.arguments.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -5556,7 +5578,7 @@
},
{
"c": ")",
"t": "source.python meta.function-call.python punctuation.definition.arguments.end.python",
"t": "source.python meta.member.access.python meta.function-call.python punctuation.definition.arguments.end.python",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",