Update grammars

This commit is contained in:
Alex Ross 2019-09-02 11:39:10 +02:00
parent 155f85b679
commit 3ac5830dcf
23 changed files with 16425 additions and 4601 deletions

View File

@ -6,11 +6,11 @@
"git": { "git": {
"name": "jeff-hykin/cpp-textmate-grammar", "name": "jeff-hykin/cpp-textmate-grammar",
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar", "repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
"commitHash": "e33a317ccd0babba4b07ffc042ab9796e6412ddc" "commitHash": "7e5b098736796056fa99d1ef50e1b95b6131d16c"
} }
}, },
"license": "MIT", "license": "MIT",
"version": "1.8.15", "version": "1.14.3",
"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." "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 "version": 1
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
[ [
{ {
"c": "#", "c": "#",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp punctuation.definition.directive.cpp", "t": "source.cpp keyword.control.directive.conditional.ifndef.cpp punctuation.definition.directive.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -12,7 +12,7 @@
}, },
{ {
"c": "ifndef", "c": "ifndef",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp", "t": "source.cpp keyword.control.directive.conditional.ifndef.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -23,7 +23,7 @@
}, },
{ {
"c": " ", "c": " ",
"t": "source.cpp meta.preprocessor.cpp", "t": "source.cpp meta.preprocessor.conditional.cpp",
"r": { "r": {
"dark_plus": "meta.preprocessor: #569CD6", "dark_plus": "meta.preprocessor: #569CD6",
"light_plus": "meta.preprocessor: #0000FF", "light_plus": "meta.preprocessor: #0000FF",
@ -34,7 +34,7 @@
}, },
{ {
"c": "_UCRT", "c": "_UCRT",
"t": "source.cpp meta.preprocessor.cpp entity.name.function.preprocessor.cpp", "t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
"r": { "r": {
"dark_plus": "entity.name.function: #DCDCAA", "dark_plus": "entity.name.function: #DCDCAA",
"light_plus": "entity.name.function: #795E26", "light_plus": "entity.name.function: #795E26",
@ -100,7 +100,7 @@
}, },
{ {
"c": "#", "c": "#",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp punctuation.definition.directive.cpp", "t": "source.cpp keyword.control.directive.endif.cpp punctuation.definition.directive.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -111,7 +111,7 @@
}, },
{ {
"c": "endif", "c": "endif",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp", "t": "source.cpp keyword.control.directive.endif.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",

View File

@ -1,7 +1,7 @@
[ [
{ {
"c": "#", "c": "#",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp punctuation.definition.directive.cpp", "t": "source.cpp keyword.control.directive.conditional.ifndef.cpp punctuation.definition.directive.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -12,7 +12,7 @@
}, },
{ {
"c": "ifndef", "c": "ifndef",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp", "t": "source.cpp keyword.control.directive.conditional.ifndef.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -23,7 +23,7 @@
}, },
{ {
"c": " ", "c": " ",
"t": "source.cpp meta.preprocessor.cpp", "t": "source.cpp meta.preprocessor.conditional.cpp",
"r": { "r": {
"dark_plus": "meta.preprocessor: #569CD6", "dark_plus": "meta.preprocessor: #569CD6",
"light_plus": "meta.preprocessor: #0000FF", "light_plus": "meta.preprocessor: #0000FF",
@ -34,7 +34,7 @@
}, },
{ {
"c": "_UCRT", "c": "_UCRT",
"t": "source.cpp meta.preprocessor.cpp entity.name.function.preprocessor.cpp", "t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
"r": { "r": {
"dark_plus": "entity.name.function: #DCDCAA", "dark_plus": "entity.name.function: #DCDCAA",
"light_plus": "entity.name.function: #795E26", "light_plus": "entity.name.function: #795E26",
@ -89,7 +89,7 @@
}, },
{ {
"c": "#", "c": "#",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp punctuation.definition.directive.cpp", "t": "source.cpp keyword.control.directive.endif.cpp punctuation.definition.directive.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",
@ -100,7 +100,7 @@
}, },
{ {
"c": "endif", "c": "endif",
"t": "source.cpp meta.preprocessor.cpp keyword.control.directive.conditional.cpp", "t": "source.cpp keyword.control.directive.endif.cpp",
"r": { "r": {
"dark_plus": "keyword.control: #C586C0", "dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB", "light_plus": "keyword.control: #AF00DB",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
"git": { "git": {
"name": "atom/language-java", "name": "atom/language-java",
"repositoryUrl": "https://github.com/atom/language-java", "repositoryUrl": "https://github.com/atom/language-java",
"commitHash": "759a0ac02dc091018a112b25a5a6d894918a0aa8" "commitHash": "ed8ad7451b4d0454374885a102dbe63befdea509"
} }
}, },
"license": "MIT", "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.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/atom/language-java/commit/759a0ac02dc091018a112b25a5a6d894918a0aa8", "version": "https://github.com/atom/language-java/commit/ed8ad7451b4d0454374885a102dbe63befdea509",
"name": "Java", "name": "Java",
"scopeName": "source.java", "scopeName": "source.java",
"patterns": [ "patterns": [
@ -379,10 +379,10 @@
"include": "#annotations" "include": "#annotations"
}, },
{ {
"include": "#member-variables" "include": "#storage-modifiers"
}, },
{ {
"include": "#storage-modifiers" "include": "#member-variables"
}, },
{ {
"include": "#code" "include": "#code"

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/84238ef0fa1c7e4e2c9fe77875d832dab9f57e5d", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/ce3979047399920f77d79272b3af45b4d86006ac",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js", "scopeName": "source.js",
"patterns": [ "patterns": [
@ -2763,7 +2763,7 @@
] ]
}, },
"ternary-expression": { "ternary-expression": {
"begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)", "begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "keyword.operator.ternary.js" "name": "keyword.operator.ternary.js"
@ -3153,7 +3153,7 @@
}, },
{ {
"name": "keyword.operator.logical.js", "name": "keyword.operator.logical.js",
"match": "\\!|&&|\\|\\|" "match": "\\!|&&|\\|\\||\\?\\?"
}, },
{ {
"name": "keyword.operator.bitwise.js", "name": "keyword.operator.bitwise.js",

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/84238ef0fa1c7e4e2c9fe77875d832dab9f57e5d", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/ce3979047399920f77d79272b3af45b4d86006ac",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js.jsx", "scopeName": "source.js.jsx",
"patterns": [ "patterns": [
@ -2763,7 +2763,7 @@
] ]
}, },
"ternary-expression": { "ternary-expression": {
"begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)", "begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "keyword.operator.ternary.js.jsx" "name": "keyword.operator.ternary.js.jsx"
@ -3153,7 +3153,7 @@
}, },
{ {
"name": "keyword.operator.logical.js.jsx", "name": "keyword.operator.logical.js.jsx",
"match": "\\!|&&|\\|\\|" "match": "\\!|&&|\\|\\||\\?\\?"
}, },
{ {
"name": "keyword.operator.bitwise.js.jsx", "name": "keyword.operator.bitwise.js.jsx",

View File

@ -6,7 +6,7 @@
"git": { "git": {
"name": "fadeevab/make.tmbundle", "name": "fadeevab/make.tmbundle",
"repositoryUrl": "https://github.com/fadeevab/make.tmbundle", "repositoryUrl": "https://github.com/fadeevab/make.tmbundle",
"commitHash": "1b05209b483f81f42270bdda5514590e013e4896" "commitHash": "fa280d2f20b0b63dc7c11b6001e9257e2c67f826"
} }
}, },
"licenseDetail": [ "licenseDetail": [

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/fadeevab/make.tmbundle/commit/1b05209b483f81f42270bdda5514590e013e4896", "version": "https://github.com/fadeevab/make.tmbundle/commit/fa280d2f20b0b63dc7c11b6001e9257e2c67f826",
"name": "Makefile", "name": "Makefile",
"scopeName": "source.makefile", "scopeName": "source.makefile",
"patterns": [ "patterns": [

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/b1249332db3d28b323895356ca00047056970988", "version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/00b05ebe6850083664d92d0eba6e5ee8f153baa6",
"name": "Markdown", "name": "Markdown",
"scopeName": "text.html.markdown", "scopeName": "text.html.markdown",
"patterns": [ "patterns": [
@ -70,11 +70,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -103,11 +103,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -136,11 +136,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -169,11 +169,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -202,11 +202,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -235,11 +235,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -268,11 +268,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -294,18 +294,18 @@
] ]
}, },
"fenced_code_block_r": { "fenced_code_block_r": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile)(\\s+[^`~]*)?$)", "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile|\\{\\.r.+?\\})(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown", "name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": { "beginCaptures": {
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -334,11 +334,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -367,11 +367,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -403,11 +403,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -436,11 +436,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -469,11 +469,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -502,11 +502,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -535,11 +535,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -568,11 +568,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -601,11 +601,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -634,11 +634,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -667,11 +667,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -700,11 +700,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -733,11 +733,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -766,11 +766,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -799,11 +799,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -832,11 +832,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -865,11 +865,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -898,11 +898,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -931,11 +931,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -957,18 +957,18 @@
] ]
}, },
"fenced_code_block_js": { "fenced_code_block_js": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs)(\\s+[^`~]*)?$)", "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|\\{\\.js.+?\\})(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown", "name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": { "beginCaptures": {
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -997,11 +997,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1030,11 +1030,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1063,11 +1063,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1096,11 +1096,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1129,11 +1129,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1162,11 +1162,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1195,11 +1195,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1228,11 +1228,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1261,11 +1261,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1287,18 +1287,18 @@
] ]
}, },
"fenced_code_block_python": { "fenced_code_block_python": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi)(\\s+[^`~]*)?$)", "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi|\\{\\.python.+?\\})(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown", "name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": { "beginCaptures": {
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1327,11 +1327,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1353,18 +1353,18 @@
] ]
}, },
"fenced_code_block_rust": { "fenced_code_block_rust": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs)(\\s+[^`~]*)?$)", "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?\\})(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown", "name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": { "beginCaptures": {
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1393,11 +1393,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1419,18 +1419,18 @@
] ]
}, },
"fenced_code_block_shell": { "fenced_code_block_shell": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init)(\\s+[^`~]*)?$)", "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?\\})(\\s+[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown", "name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": { "beginCaptures": {
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1459,11 +1459,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1492,11 +1492,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1525,11 +1525,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1558,11 +1558,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1591,11 +1591,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1624,11 +1624,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -1657,11 +1657,11 @@
"3": { "3": {
"name": "punctuation.definition.markdown" "name": "punctuation.definition.markdown"
}, },
"5": { "4": {
"name": "fenced_code.block.language" "name": "fenced_code.block.language.markdown"
}, },
"6": { "5": {
"name": "fenced_code.block.language.attributes" "name": "fenced_code.block.language.attributes.markdown"
} }
}, },
"endCaptures": { "endCaptures": {
@ -2587,4 +2587,4 @@
"name": "markup.inline.raw.string.markdown" "name": "markup.inline.raw.string.markdown"
} }
} }
} }

View File

@ -6,7 +6,7 @@
"git": { "git": {
"name": "jeff-hykin/cpp-textmate-grammar", "name": "jeff-hykin/cpp-textmate-grammar",
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar", "repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
"commitHash": "9c4f4b3291538d9f5144f02d3b6af877b84f2cb2" "commitHash": "218448eb46260864352d569db13be6cb20767e92"
} }
}, },
"license": "MIT", "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.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/9c4f4b3291538d9f5144f02d3b6af877b84f2cb2", "version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/218448eb46260864352d569db13be6cb20767e92",
"name": "Objective-C++", "name": "Objective-C++",
"scopeName": "source.objcpp", "scopeName": "source.objcpp",
"patterns": [ "patterns": [

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/9c4f4b3291538d9f5144f02d3b6af877b84f2cb2", "version": "https://github.com/jeff-hykin/cpp-textmate-grammar/commit/218448eb46260864352d569db13be6cb20767e92",
"name": "Objective-C", "name": "Objective-C",
"scopeName": "source.objc", "scopeName": "source.objc",
"patterns": [ "patterns": [

View File

@ -14,4 +14,4 @@
} }
], ],
"version": 1 "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.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/textmate/swift.tmbundle/commit/bdc8ae07562060a566b33da3f62601bb5aababd1", "version": "https://github.com/textmate/swift.tmbundle/commit/3f582e9acc1613745b06a56be55ba2a032c458eb",
"name": "Swift", "name": "Swift",
"scopeName": "source.swift", "scopeName": "source.swift",
"comment": "See swift.tmbundle/grammar-test.swift for test cases.", "comment": "See swift.tmbundle/grammar-test.swift for test cases.",
@ -2759,10 +2759,13 @@
} }
}, },
"comment": "SE-0168: Multi-Line String Literals", "comment": "SE-0168: Multi-Line String Literals",
"end": "\"\"\"", "end": "\"\"\"(#*)",
"endCaptures": { "endCaptures": {
"0": { "0": {
"name": "punctuation.definition.string.end.swift" "name": "punctuation.definition.string.end.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
} }
}, },
"name": "string.quoted.double.block.swift", "name": "string.quoted.double.block.swift",
@ -2785,6 +2788,66 @@
} }
] ]
}, },
{
"begin": "#\"\"\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.swift"
}
},
"end": "\"\"\"#(#*)",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
}
},
"name": "string.quoted.double.block.raw.swift",
"patterns": [
{
"match": "\\G.+(?=\"\"\")|\\G.+",
"name": "invalid.illegal.content-after-opening-delimiter.swift"
},
{
"match": "\\\\#\\s*\\n",
"name": "constant.character.escape.newline.swift"
},
{
"include": "#raw-string-guts"
},
{
"comment": "Allow \\(\"\"\"...\"\"\") to appear inside a block string",
"match": "\\S((?!\\\\#\\().)*(?=\"\"\")",
"name": "invalid.illegal.content-before-closing-delimiter.swift"
}
]
},
{
"begin": "(##+)\"\"\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.swift"
}
},
"end": "\"\"\"\\1(#*)",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
}
},
"name": "string.quoted.double.block.raw.swift",
"patterns": [
{
"match": "\\G.+(?=\"\"\")|\\G.+",
"name": "invalid.illegal.content-after-opening-delimiter.swift"
}
]
},
{ {
"begin": "\"", "begin": "\"",
"beginCaptures": { "beginCaptures": {
@ -2792,10 +2855,13 @@
"name": "punctuation.definition.string.begin.swift" "name": "punctuation.definition.string.begin.swift"
} }
}, },
"end": "\"", "end": "\"(#*)",
"endCaptures": { "endCaptures": {
"0": { "0": {
"name": "punctuation.definition.string.end.swift" "name": "punctuation.definition.string.end.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
} }
}, },
"name": "string.quoted.double.single-line.swift", "name": "string.quoted.double.single-line.swift",
@ -2808,9 +2874,108 @@
"include": "#string-guts" "include": "#string-guts"
} }
] ]
},
{
"begin": "(##+)\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.raw.swift"
}
},
"comment": "SE-0168: raw string literals (more than one #, grammar limitations prevent us from supporting escapes)",
"end": "\"\\1(#*)",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.raw.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
}
},
"name": "string.quoted.double.single-line.raw.swift",
"patterns": [
{
"match": "\\r|\\n",
"name": "invalid.illegal.returns-not-allowed.swift"
}
]
},
{
"begin": "#\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.raw.swift"
}
},
"comment": "SE-0168: raw string literals (one #, escapes supported)",
"end": "\"#(#*)",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.raw.swift"
},
"1": {
"name": "invalid.illegal.extra-closing-delimiter.swift"
}
},
"name": "string.quoted.double.single-line.raw.swift",
"patterns": [
{
"match": "\\r|\\n",
"name": "invalid.illegal.returns-not-allowed.swift"
},
{
"include": "#raw-string-guts"
}
]
} }
], ],
"repository": { "repository": {
"raw-string-guts": {
"comment": "the same as #string-guts but with # in escapes",
"patterns": [
{
"match": "\\\\#[0\\\\tnr\"']",
"name": "constant.character.escape.swift"
},
{
"match": "\\\\#u\\{[0-9a-fA-F]{1,8}\\}",
"name": "constant.character.escape.unicode.swift"
},
{
"begin": "\\\\#\\(",
"beginCaptures": {
"0": {
"name": "punctuation.section.embedded.begin.swift"
}
},
"contentName": "source.swift",
"end": "(\\))",
"endCaptures": {
"0": {
"name": "punctuation.section.embedded.end.swift"
},
"1": {
"name": "source.swift"
}
},
"name": "meta.embedded.line.swift",
"patterns": [
{
"include": "$self"
},
{
"begin": "\\(",
"comment": "Nested parens",
"end": "\\)"
}
]
},
{
"match": "\\\\#.",
"name": "invalid.illegal.escape-not-recognized"
}
]
},
"string-guts": { "string-guts": {
"patterns": [ "patterns": [
{ {

View File

@ -6,7 +6,7 @@
"git": { "git": {
"name": "TypeScript-TmLanguage", "name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage", "repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
"commitHash": "84238ef0fa1c7e4e2c9fe77875d832dab9f57e5d" "commitHash": "ce3979047399920f77d79272b3af45b4d86006ac"
} }
}, },
"license": "MIT", "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.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/84238ef0fa1c7e4e2c9fe77875d832dab9f57e5d", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/ce3979047399920f77d79272b3af45b4d86006ac",
"name": "TypeScript", "name": "TypeScript",
"scopeName": "source.ts", "scopeName": "source.ts",
"patterns": [ "patterns": [
@ -2760,7 +2760,7 @@
] ]
}, },
"ternary-expression": { "ternary-expression": {
"begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)", "begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "keyword.operator.ternary.ts" "name": "keyword.operator.ternary.ts"
@ -3202,7 +3202,7 @@
}, },
{ {
"name": "keyword.operator.logical.ts", "name": "keyword.operator.logical.ts",
"match": "\\!|&&|\\|\\|" "match": "\\!|&&|\\|\\||\\?\\?"
}, },
{ {
"name": "keyword.operator.bitwise.ts", "name": "keyword.operator.bitwise.ts",

View File

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/84238ef0fa1c7e4e2c9fe77875d832dab9f57e5d", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/ce3979047399920f77d79272b3af45b4d86006ac",
"name": "TypeScriptReact", "name": "TypeScriptReact",
"scopeName": "source.tsx", "scopeName": "source.tsx",
"patterns": [ "patterns": [
@ -2763,7 +2763,7 @@
] ]
}, },
"ternary-expression": { "ternary-expression": {
"begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)", "begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "keyword.operator.ternary.tsx" "name": "keyword.operator.ternary.tsx"
@ -3153,7 +3153,7 @@
}, },
{ {
"name": "keyword.operator.logical.tsx", "name": "keyword.operator.logical.tsx",
"match": "\\!|&&|\\|\\|" "match": "\\!|&&|\\|\\||\\?\\?"
}, },
{ {
"name": "keyword.operator.bitwise.tsx", "name": "keyword.operator.bitwise.tsx",

View File

@ -89,7 +89,7 @@
}, },
{ {
"c": "js", "c": "js",
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown", "t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown fenced_code.block.language.markdown",
"r": { "r": {
"dark_plus": "comment: #6A9955", "dark_plus": "comment: #6A9955",
"light_plus": "comment: #008000", "light_plus": "comment: #008000",