Skip to content

Commit 25377ee

Browse files
committed
Update js/ts grammar
1 parent fc77b27 commit 25377ee

5 files changed

Lines changed: 35 additions & 23 deletions

File tree

extensions/javascript/syntaxes/JavaScript.tmLanguage.json

Lines changed: 9 additions & 6 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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js",
1010
"patterns": [
@@ -15,16 +15,19 @@
1515
"include": "#statements"
1616
},
1717
{
18-
"name": "comment.line.shebang.ts",
18+
"include": "#shebang"
19+
}
20+
],
21+
"repository": {
22+
"shebang": {
23+
"name": "comment.line.shebang.js",
1924
"match": "\\A(#!).*(?=$)",
2025
"captures": {
2126
"1": {
22-
"name": "punctuation.definition.comment.ts"
27+
"name": "punctuation.definition.comment.js"
2328
}
2429
}
25-
}
26-
],
27-
"repository": {
30+
},
2831
"statements": {
2932
"patterns": [
3033
{

extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json

Lines changed: 9 additions & 6 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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
88
"name": "JavaScript (with React support)",
99
"scopeName": "source.js.jsx",
1010
"patterns": [
@@ -15,16 +15,19 @@
1515
"include": "#statements"
1616
},
1717
{
18-
"name": "comment.line.shebang.ts",
18+
"include": "#shebang"
19+
}
20+
],
21+
"repository": {
22+
"shebang": {
23+
"name": "comment.line.shebang.js.jsx",
1924
"match": "\\A(#!).*(?=$)",
2025
"captures": {
2126
"1": {
22-
"name": "punctuation.definition.comment.ts"
27+
"name": "punctuation.definition.comment.js.jsx"
2328
}
2429
}
25-
}
26-
],
27-
"repository": {
30+
},
2831
"statements": {
2932
"patterns": [
3033
{

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

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

Lines changed: 7 additions & 4 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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
88
"name": "TypeScript",
99
"scopeName": "source.ts",
1010
"patterns": [
@@ -15,16 +15,19 @@
1515
"include": "#statements"
1616
},
1717
{
18+
"include": "#shebang"
19+
}
20+
],
21+
"repository": {
22+
"shebang": {
1823
"name": "comment.line.shebang.ts",
1924
"match": "\\A(#!).*(?=$)",
2025
"captures": {
2126
"1": {
2227
"name": "punctuation.definition.comment.ts"
2328
}
2429
}
25-
}
26-
],
27-
"repository": {
30+
},
2831
"statements": {
2932
"patterns": [
3033
{

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

Lines changed: 9 additions & 6 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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
7+
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
88
"name": "TypeScriptReact",
99
"scopeName": "source.tsx",
1010
"patterns": [
@@ -15,16 +15,19 @@
1515
"include": "#statements"
1616
},
1717
{
18-
"name": "comment.line.shebang.ts",
18+
"include": "#shebang"
19+
}
20+
],
21+
"repository": {
22+
"shebang": {
23+
"name": "comment.line.shebang.tsx",
1924
"match": "\\A(#!).*(?=$)",
2025
"captures": {
2126
"1": {
22-
"name": "punctuation.definition.comment.ts"
27+
"name": "punctuation.definition.comment.tsx"
2328
}
2429
}
25-
}
26-
],
27-
"repository": {
30+
},
2831
"statements": {
2932
"patterns": [
3033
{

0 commit comments

Comments
 (0)