Skip to content

Commit cf01f3b

Browse files
authored
Update TS grammars (microsoft#167479)
Pulls in support for TS accessor syntax
1 parent 633eec6 commit cf01f3b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

extensions/javascript/syntaxes/JavaScript.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c2744520e325330d0608fc1d1993d7fe98e66202",
7+
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/359e091c0a83a45e20aefc13111ed4a19e201f97",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js",
1010
"patterns": [
@@ -1862,7 +1862,7 @@
18621862
},
18631863
"property-accessor": {
18641864
"name": "storage.type.property.js",
1865-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
1865+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
18661866
},
18671867
"async-modifier": {
18681868
"name": "storage.modifier.async.js",

extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c2744520e325330d0608fc1d1993d7fe98e66202",
7+
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/359e091c0a83a45e20aefc13111ed4a19e201f97",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js.jsx",
1010
"patterns": [
@@ -1862,7 +1862,7 @@
18621862
},
18631863
"property-accessor": {
18641864
"name": "storage.type.property.js.jsx",
1865-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
1865+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
18661866
},
18671867
"async-modifier": {
18681868
"name": "storage.modifier.async.js.jsx",

extensions/typescript-basics/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "TypeScript-TmLanguage",
88
"repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage",
9-
"commitHash": "c2744520e325330d0608fc1d1993d7fe98e66202"
9+
"commitHash": "359e091c0a83a45e20aefc13111ed4a19e201f97"
1010
}
1111
},
1212
"license": "MIT",

extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c2744520e325330d0608fc1d1993d7fe98e66202",
7+
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/359e091c0a83a45e20aefc13111ed4a19e201f97",
88
"name": "TypeScript",
99
"scopeName": "source.ts",
1010
"patterns": [
@@ -1859,7 +1859,7 @@
18591859
},
18601860
"property-accessor": {
18611861
"name": "storage.type.property.ts",
1862-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
1862+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
18631863
},
18641864
"async-modifier": {
18651865
"name": "storage.modifier.async.ts",

extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c2744520e325330d0608fc1d1993d7fe98e66202",
7+
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/359e091c0a83a45e20aefc13111ed4a19e201f97",
88
"name": "TypeScriptReact",
99
"scopeName": "source.tsx",
1010
"patterns": [
@@ -1862,7 +1862,7 @@
18621862
},
18631863
"property-accessor": {
18641864
"name": "storage.type.property.tsx",
1865-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
1865+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
18661866
},
18671867
"async-modifier": {
18681868
"name": "storage.modifier.async.tsx",

0 commit comments

Comments
 (0)