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": "\\!|&&|\\|\\||\\?\\?"

View file

@ -6,7 +6,7 @@
"git": {
"name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
"commitHash": "2e0fded599d7b85b78692dee3d96e8a4710a5c57"
"commitHash": "c9c955af17ed0c86ebce32e0f26c72f0a2925937"
}
},
"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.",
"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": "TypeScript",
"scopeName": "source.ts",
"patterns": [
@ -3210,6 +3210,17 @@
"name": "keyword.operator.relational.ts",
"match": "<=|>=|<>|<|>"
},
{
"match": "(\\!)\\s*(/)(?![/*])",
"captures": {
"1": {
"name": "keyword.operator.logical.ts"
},
"2": {
"name": "keyword.operator.arithmetic.ts"
}
}
},
{
"name": "keyword.operator.logical.ts",
"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": "TypeScriptReact",
"scopeName": "source.tsx",
"patterns": [
@ -3161,6 +3161,17 @@
"name": "keyword.operator.relational.tsx",
"match": "<=|>=|<>|<|>"
},
{
"match": "(\\!)\\s*(/)(?![/*])",
"captures": {
"1": {
"name": "keyword.operator.logical.tsx"
},
"2": {
"name": "keyword.operator.arithmetic.tsx"
}
}
},
{
"name": "keyword.operator.logical.tsx",
"match": "\\!|&&|\\|\\||\\?\\?"