Update TS grammars (#167479)

Pulls in support for TS accessor syntax
This commit is contained in:
Matt Bierner
2022-11-28 16:30:49 -08:00
committed by GitHub
parent 633eec65c9
commit cf01f3bb99
5 changed files with 9 additions and 9 deletions

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/microsoft/TypeScript-TmLanguage/commit/c2744520e325330d0608fc1d1993d7fe98e66202",
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/359e091c0a83a45e20aefc13111ed4a19e201f97",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"patterns": [
@@ -1862,7 +1862,7 @@
},
"property-accessor": {
"name": "storage.type.property.js",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(accessor|get|set)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
},
"async-modifier": {
"name": "storage.modifier.async.js",