提交 25377ee7 编写于 作者: M Matt Bierner

Update js/ts grammar

上级 fc77b27e
......@@ -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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"patterns": [
......@@ -15,16 +15,19 @@
"include": "#statements"
},
{
"name": "comment.line.shebang.ts",
"include": "#shebang"
}
],
"repository": {
"shebang": {
"name": "comment.line.shebang.js",
"match": "\\A(#!).*(?=$)",
"captures": {
"1": {
"name": "punctuation.definition.comment.ts"
"name": "punctuation.definition.comment.js"
}
}
}
],
"repository": {
},
"statements": {
"patterns": [
{
......
......@@ -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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
"name": "JavaScript (with React support)",
"scopeName": "source.js.jsx",
"patterns": [
......@@ -15,16 +15,19 @@
"include": "#statements"
},
{
"name": "comment.line.shebang.ts",
"include": "#shebang"
}
],
"repository": {
"shebang": {
"name": "comment.line.shebang.js.jsx",
"match": "\\A(#!).*(?=$)",
"captures": {
"1": {
"name": "punctuation.definition.comment.ts"
"name": "punctuation.definition.comment.js.jsx"
}
}
}
],
"repository": {
},
"statements": {
"patterns": [
{
......
......@@ -6,7 +6,7 @@
"git": {
"name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
"commitHash": "863fe48831356e0d459cc71c1e7d72c41b7e1b42"
"commitHash": "dd81cfb5b08015f35b5617751d27c5584198393b"
}
},
"license": "MIT",
......
......@@ -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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
"name": "TypeScript",
"scopeName": "source.ts",
"patterns": [
......@@ -15,6 +15,11 @@
"include": "#statements"
},
{
"include": "#shebang"
}
],
"repository": {
"shebang": {
"name": "comment.line.shebang.ts",
"match": "\\A(#!).*(?=$)",
"captures": {
......@@ -22,9 +27,7 @@
"name": "punctuation.definition.comment.ts"
}
}
}
],
"repository": {
},
"statements": {
"patterns": [
{
......
......@@ -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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
"name": "TypeScriptReact",
"scopeName": "source.tsx",
"patterns": [
......@@ -15,16 +15,19 @@
"include": "#statements"
},
{
"name": "comment.line.shebang.ts",
"include": "#shebang"
}
],
"repository": {
"shebang": {
"name": "comment.line.shebang.tsx",
"match": "\\A(#!).*(?=$)",
"captures": {
"1": {
"name": "punctuation.definition.comment.ts"
"name": "punctuation.definition.comment.tsx"
}
}
}
],
"repository": {
},
"statements": {
"patterns": [
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册