Skip to content

Commit b7f20a8

Browse files
committed
Update js/ts grammar
1 parent 39bdf95 commit b7f20a8

5 files changed

Lines changed: 29 additions & 13 deletions

File tree

extensions/javascript/syntaxes/JavaScript.tmLanguage.json

Lines changed: 7 additions & 3 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/d8c9720c4ebb9e0ec4b0d691525f33570a4387ea",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a4c4dafb226a4c1d037a52434aa1154d9dabad8b",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js",
1010
"patterns": [
@@ -3900,8 +3900,12 @@
39003900
"include": "#type-function-return-type"
39013901
},
39023902
{
3903-
"name": "storage.modifier.js",
3904-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
3903+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",
3904+
"captures": {
3905+
"1": {
3906+
"name": "storage.modifier.js"
3907+
}
3908+
}
39053909
},
39063910
{
39073911
"include": "#type-name"

extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json

Lines changed: 7 additions & 3 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/d8c9720c4ebb9e0ec4b0d691525f33570a4387ea",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a4c4dafb226a4c1d037a52434aa1154d9dabad8b",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js.jsx",
1010
"patterns": [
@@ -3900,8 +3900,12 @@
39003900
"include": "#type-function-return-type"
39013901
},
39023902
{
3903-
"name": "storage.modifier.js.jsx",
3904-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
3903+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",
3904+
"captures": {
3905+
"1": {
3906+
"name": "storage.modifier.js.jsx"
3907+
}
3908+
}
39053909
},
39063910
{
39073911
"include": "#type-name"

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": "d8c9720c4ebb9e0ec4b0d691525f33570a4387ea"
9+
"commitHash": "a4c4dafb226a4c1d037a52434aa1154d9dabad8b"
1010
}
1111
},
1212
"license": "MIT",

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

Lines changed: 7 additions & 3 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/d8c9720c4ebb9e0ec4b0d691525f33570a4387ea",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a4c4dafb226a4c1d037a52434aa1154d9dabad8b",
88
"name": "TypeScript",
99
"scopeName": "source.ts",
1010
"patterns": [
@@ -3949,8 +3949,12 @@
39493949
"include": "#type-function-return-type"
39503950
},
39513951
{
3952-
"name": "storage.modifier.ts",
3953-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
3952+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",
3953+
"captures": {
3954+
"1": {
3955+
"name": "storage.modifier.ts"
3956+
}
3957+
}
39543958
},
39553959
{
39563960
"include": "#type-name"

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

Lines changed: 7 additions & 3 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/d8c9720c4ebb9e0ec4b0d691525f33570a4387ea",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a4c4dafb226a4c1d037a52434aa1154d9dabad8b",
88
"name": "TypeScriptReact",
99
"scopeName": "source.tsx",
1010
"patterns": [
@@ -3900,8 +3900,12 @@
39003900
"include": "#type-function-return-type"
39013901
},
39023902
{
3903-
"name": "storage.modifier.tsx",
3904-
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
3903+
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(readonly)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))\\s*",
3904+
"captures": {
3905+
"1": {
3906+
"name": "storage.modifier.tsx"
3907+
}
3908+
}
39053909
},
39063910
{
39073911
"include": "#type-name"

0 commit comments

Comments
 (0)