Update js/ts grammar

This commit is contained in:
Matt Bierner
2019-12-17 15:04:11 -08:00
parent b435511d7b
commit 609a88d3e3
5 changed files with 49 additions and 5 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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"patterns": [
@@ -3161,6 +3161,17 @@
"name": "keyword.operator.relational.js",
"match": "<=|>=|<>|<|>"
},
{
"match": "(\\!)\\s*(/)(?![/*])",
"captures": {
"1": {
"name": "keyword.operator.logical.js"
},
"2": {
"name": "keyword.operator.arithmetic.js"
}
}
},
{
"name": "keyword.operator.logical.js",
"match": "\\!|&&|\\|\\||\\?\\?"

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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
"name": "JavaScript (with React support)",
"scopeName": "source.js.jsx",
"patterns": [
@@ -3161,6 +3161,17 @@
"name": "keyword.operator.relational.js.jsx",
"match": "<=|>=|<>|<|>"
},
{
"match": "(\\!)\\s*(/)(?![/*])",
"captures": {
"1": {
"name": "keyword.operator.logical.js.jsx"
},
"2": {
"name": "keyword.operator.arithmetic.js.jsx"
}
}
},
{
"name": "keyword.operator.logical.js.jsx",
"match": "\\!|&&|\\|\\||\\?\\?"