From 86a9e31ccc0cc5e59a2c033fda20e1ad15d9ba84 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 10 Jun 2020 12:11:28 -0700 Subject: [PATCH] Update JS/TS grammars --- .../syntaxes/JavaScript.tmLanguage.json | 20 ++++++++++++++++++- .../syntaxes/JavaScriptReact.tmLanguage.json | 20 ++++++++++++++++++- extensions/typescript-basics/cgmanifest.json | 2 +- .../syntaxes/TypeScript.tmLanguage.json | 20 ++++++++++++++++++- .../syntaxes/TypeScriptReact.tmLanguage.json | 20 ++++++++++++++++++- 5 files changed, 77 insertions(+), 5 deletions(-) diff --git a/extensions/javascript/syntaxes/JavaScript.tmLanguage.json b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json index 40c0a9b33c1..8feedabc25a 100644 --- a/extensions/javascript/syntaxes/JavaScript.tmLanguage.json +++ b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json @@ -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/84422d92e164c379ed817ef8e1d6c35b61de233e", + "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/fa4e0d3a918db0eab8e5c5be952f3bd649968456", "name": "JavaScript (with React support)", "scopeName": "source.js", "patterns": [ @@ -4039,6 +4039,24 @@ } }, "patterns": [ + { + "name": "keyword.operator.rest.js", + "match": "\\.\\.\\." + }, + { + "match": "(?