提交 d5bded09 编写于 作者: M Martin Aeschlimann

update grammars

上级 086a751a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/mmims/language-batchfile/commit/3dd105c31484e5975144478dac1aa91d8f51e528", "version": "https://github.com/mmims/language-batchfile/commit/9b2d868a43d6a04a4dc27cb31f907b960a4fdab1",
"name": "Batch File", "name": "Batch File",
"scopeName": "source.batchfile", "scopeName": "source.batchfile",
"patterns": [ "patterns": [
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
"include": "#parens" "include": "#parens"
}, },
{ {
"begin": "(\")\\s*([^ ][^=]*)(=)\"?", "begin": "(\")\\s*([^ ][^=]*)(=)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "punctuation.definition.string.begin.batchfile" "name": "punctuation.definition.string.begin.batchfile"
...@@ -125,9 +125,10 @@ ...@@ -125,9 +125,10 @@
"end": "\"", "end": "\"",
"endCaptures": { "endCaptures": {
"0": { "0": {
"name": "string.quoted.double.batchfile" "name": "punctuation.definition.string.end.batchfile"
} }
}, },
"name": "string.quoted.double.batchfile",
"patterns": [ "patterns": [
{ {
"include": "#variables" "include": "#variables"
...@@ -493,6 +494,10 @@ ...@@ -493,6 +494,10 @@
}, },
"name": "string.quoted.double.batchfile", "name": "string.quoted.double.batchfile",
"patterns": [ "patterns": [
{
"match": "%%",
"name": "constant.character.escape.batchfile"
},
{ {
"include": "#variables" "include": "#variables"
} }
...@@ -507,9 +512,11 @@ ...@@ -507,9 +512,11 @@
"captures": { "captures": {
"1": { "1": {
"name": "punctuation.definition.variable.batchfile" "name": "punctuation.definition.variable.batchfile"
},
"2": {
"name": "variable.parameter.batchfile"
} }
}, }
"name": "variable.parameter.batchfile"
}, },
{ {
"include": "#variable" "include": "#variable"
......
...@@ -89,13 +89,13 @@ ...@@ -89,13 +89,13 @@
}, },
{ {
"c": "%", "c": "%",
"t": "source.batchfile variable.parameter.batchfile punctuation.definition.variable.batchfile", "t": "source.batchfile punctuation.definition.variable.batchfile",
"r": { "r": {
"dark_plus": "variable: #9CDCFE", "dark_plus": "default: #D4D4D4",
"light_plus": "variable: #001080", "light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4", "dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000", "light_vs": "default: #000000",
"hc_black": "variable: #9CDCFE" "hc_black": "default: #FFFFFF"
} }
}, },
{ {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/atom/language-java/commit/5c2863da1425d61914d2e04ef31b86f8c5883c5f", "version": "https://github.com/atom/language-java/commit/bbbd3236c0ef9a9cd8c59d6ad4bd6b9b231dc714",
"name": "Java", "name": "Java",
"scopeName": "source.java", "scopeName": "source.java",
"patterns": [ "patterns": [
...@@ -769,7 +769,7 @@ ...@@ -769,7 +769,7 @@
"name": "storage.modifier.$1.java" "name": "storage.modifier.$1.java"
}, },
{ {
"match": "([a-zA-Z$_][a-zA-Z0-9$_]*)(?=\\s*<)", "match": "(?<!\\.)([a-zA-Z$_][a-zA-Z0-9$_]*)(?=\\s*<)",
"captures": { "captures": {
"1": { "1": {
"name": "storage.type.java" "name": "storage.type.java"
...@@ -795,6 +795,10 @@ ...@@ -795,6 +795,10 @@
"match": ",", "match": ",",
"name": "punctuation.separator.delimiter.java" "name": "punctuation.separator.delimiter.java"
}, },
{
"match": "\\.",
"name": "punctuation.separator.period.java"
},
{ {
"include": "#parens" "include": "#parens"
}, },
...@@ -923,6 +927,10 @@ ...@@ -923,6 +927,10 @@
{ {
"match": "(\\||&)", "match": "(\\||&)",
"name": "keyword.operator.bitwise.java" "name": "keyword.operator.bitwise.java"
},
{
"match": "\\b(const|goto)\\b",
"name": "keyword.reserved.java"
} }
] ]
}, },
...@@ -1104,7 +1112,7 @@ ...@@ -1104,7 +1112,7 @@
] ]
}, },
{ {
"match": "\\b(?:[A-Z]\\w*\\s*(\\.)\\s*)*[A-Z]\\w*\\b", "match": "\\b(?:[A-Z]\\w*\\s*(\\.)\\s*)*[A-Z]\\w*\\b((?=\\s*[A-Za-z$_\\n])|(?=\\s*\\.\\.\\.))",
"name": "storage.type.java", "name": "storage.type.java",
"captures": { "captures": {
"1": { "1": {
...@@ -1160,6 +1168,10 @@ ...@@ -1160,6 +1168,10 @@
{ {
"match": ",", "match": ",",
"name": "punctuation.separator.delimiter.java" "name": "punctuation.separator.delimiter.java"
},
{
"match": "\\.\\.\\.",
"name": "punctuation.definition.parameters.varargs.java"
} }
] ]
}, },
...@@ -1352,7 +1364,7 @@ ...@@ -1352,7 +1364,7 @@
] ]
}, },
"variables": { "variables": {
"begin": "(?x)\n(?=\n (\n (void|boolean|byte|char|short|int|float|long|double)\n |\n (?>(\\w+\\.)*[A-Z]+\\w*) # e.g. `javax.ws.rs.Response`, or `String`\n )\n (\n <[\\w<>,?\\s]*> # HashMap<Integer, String>\n )?\n (\n (\\[\\])* # int[][]\n )?\n \\s+\n [A-Za-z_$][\\w$]* # At least one identifier after space\n ([\\w\\[\\],$][\\w\\[\\],\\s]*)? # possibly primitive array or additional identifiers\n \\s*(=|;)\n)", "begin": "(?x)\n(?=\n (\n (void|boolean|byte|char|short|int|float|long|double)\n |\n (?>(\\w+\\.)*[A-Z]+\\w*) # e.g. `javax.ws.rs.Response`, or `String`\n )\n (\n <[\\w<>,\\.?\\s]*> # e.g. `HashMap<Integer, String>`, or `List<java.lang.String>`\n )?\n (\n (\\[\\])* # int[][]\n )?\n \\s+\n [A-Za-z_$][\\w$]* # At least one identifier after space\n ([\\w\\[\\],$][\\w\\[\\],\\s]*)? # possibly primitive array or additional identifiers\n \\s*(=|;)\n)",
"end": "(?=;)", "end": "(?=;)",
"name": "meta.definition.variable.java", "name": "meta.definition.variable.java",
"patterns": [ "patterns": [
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/b61fd56a52f6b85598eda2f3842dfb7447d0d4eb", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/4ef3570784b60450d6baac681cb096fbf1d2397e",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js", "scopeName": "source.js",
"patterns": [ "patterns": [
...@@ -3243,6 +3243,10 @@ ...@@ -3243,6 +3243,10 @@
{ {
"name": "keyword.operator.expression.infer.js", "name": "keyword.operator.expression.infer.js",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])" "match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.js",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
} }
] ]
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/b61fd56a52f6b85598eda2f3842dfb7447d0d4eb", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/4ef3570784b60450d6baac681cb096fbf1d2397e",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js.jsx", "scopeName": "source.js.jsx",
"patterns": [ "patterns": [
...@@ -3243,6 +3243,10 @@ ...@@ -3243,6 +3243,10 @@
{ {
"name": "keyword.operator.expression.infer.js.jsx", "name": "keyword.operator.expression.infer.js.jsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])" "match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.js.jsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
} }
] ]
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/textmate/perl.tmbundle/commit/c0b7a4bd65882380522d82a60b536479a62b07c3", "version": "https://github.com/textmate/perl.tmbundle/commit/80826abe75250286c2a1a07958e50e8551d3f50c",
"name": "Perl", "name": "Perl",
"scopeName": "source.perl", "scopeName": "source.perl",
"comment": "\n\tTODO:\tInclude RegExp syntax\n", "comment": "\n\tTODO:\tInclude RegExp syntax\n",
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
] ]
}, },
{ {
"begin": "(?<!\\{|\\+|\\-)(m)(?!_)\\s*([^\\sa-zA-Z0-9'\\{\\[\\(\\<])", "begin": "\\G(?<!\\{|\\+|\\-)(m)(?!_)\\s*([^\\sa-zA-Z0-9'\\{\\[\\(\\<])",
"captures": { "captures": {
"0": { "0": {
"name": "punctuation.definition.string.perl" "name": "punctuation.definition.string.perl"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/atom/language-php/commit/11b2057dbf32355019621ee3769f5c8ef577f524", "version": "https://github.com/atom/language-php/commit/b054176835218c446d22b3c1b9dcfdcf8cacf49f",
"scopeName": "source.php", "scopeName": "source.php",
"patterns": [ "patterns": [
{ {
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
] ]
}, },
{ {
"begin": "(?i)^\\s*(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)", "begin": "(?i)(?:^|(?<=}))\\s*(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "storage.modifier.${1:/downcase}.php" "name": "storage.modifier.${1:/downcase}.php"
...@@ -355,7 +355,15 @@ ...@@ -355,7 +355,15 @@
"include": "#switch_statement" "include": "#switch_statement"
}, },
{ {
"match": "(?x)\n\\s*\n\\b(\n break|case|continue|declare|default|die|do|\n else(if)?|end(declare|for(each)?|if|switch|while)|exit|\n for(each)?|if|return|switch|use|while|yield\n)\\b", "match": "\\s*\\b(yield\\s+from)\\b",
"captures": {
"1": {
"name": "keyword.control.yield-from.php"
}
}
},
{
"match": "(?x)\n\\s* # FIXME: Removing this causes specs to fail. Investigate.\n\\b(\n break|case|continue|declare|default|die|do|\n else(if)?|end(declare|for(each)?|if|switch|while)|exit|\n for(each)?|if|return|switch|use|while|yield\n)\\b",
"captures": { "captures": {
"1": { "1": {
"name": "keyword.control.${1:/downcase}.php" "name": "keyword.control.${1:/downcase}.php"
...@@ -521,7 +529,7 @@ ...@@ -521,7 +529,7 @@
} }
}, },
"contentName": "meta.function.parameters.php", "contentName": "meta.function.parameters.php",
"end": "(\\))(?:\\s*(:)\\s*([a-zA-Z_\\x{7f}-\\x{7fffffff}][a-zA-Z0-9_\\x{7f}-\\x{7fffffff}]*))?", "end": "(\\))(?:\\s*(:)\\s*(\\?)?\\s*([a-zA-Z_\\x{7f}-\\x{7fffffff}][a-zA-Z0-9_\\x{7f}-\\x{7fffffff}]*))?",
"endCaptures": { "endCaptures": {
"1": { "1": {
"name": "punctuation.definition.parameters.end.bracket.round.php" "name": "punctuation.definition.parameters.end.bracket.round.php"
...@@ -530,6 +538,9 @@ ...@@ -530,6 +538,9 @@
"name": "keyword.operator.return-value.php" "name": "keyword.operator.return-value.php"
}, },
"3": { "3": {
"name": "keyword.operator.nullable-type.php"
},
"4": {
"name": "storage.type.php" "name": "storage.type.php"
} }
}, },
...@@ -989,27 +1000,30 @@ ...@@ -989,27 +1000,30 @@
"name": "punctuation.separator.delimiter.php" "name": "punctuation.separator.delimiter.php"
}, },
{ {
"begin": "(?xi)\n(array) # Typehint\n\\s+((&)?\\s*(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference\n\\s*(=)\\s*(array)\\s*(\\() # Default value", "begin": "(?xi)\n(?:(\\?)\\s*)?(array) # Typehint\n\\s+((&)?\\s*(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference\n\\s*(=)\\s*(array)\\s*(\\() # Default value",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "storage.type.php" "name": "keyword.operator.nullable-type.php"
}, },
"2": { "2": {
"name": "variable.other.php" "name": "storage.type.php"
}, },
"3": { "3": {
"name": "storage.modifier.reference.php" "name": "variable.other.php"
}, },
"4": { "4": {
"name": "punctuation.definition.variable.php" "name": "storage.modifier.reference.php"
}, },
"5": { "5": {
"name": "keyword.operator.assignment.php" "name": "punctuation.definition.variable.php"
}, },
"6": { "6": {
"name": "support.function.construct.php" "name": "keyword.operator.assignment.php"
}, },
"7": { "7": {
"name": "support.function.construct.php"
},
"8": {
"name": "punctuation.definition.array.begin.bracket.round.php" "name": "punctuation.definition.array.begin.bracket.round.php"
} }
}, },
...@@ -1034,49 +1048,55 @@ ...@@ -1034,49 +1048,55 @@
] ]
}, },
{ {
"match": "(?xi)\n(array|callable) # Typehint\n\\s+((&)?\\s*(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference\n(?: # Optional default value\n \\s*(=)\\s*\n (?:\n (null)\n |\n (\\[)((?>[^\\[\\]]+|\\[\\g<8>\\])*)(\\])\n |((?:\\S*?\\(\\))|(?:\\S*?))\n )\n)?\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment", "match": "(?xi)\n(?:(\\?)\\s*)?(array|callable) # Typehint\n\\s+((&)?\\s*(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference\n(?: # Optional default value\n \\s*(=)\\s*\n (?:\n (null)\n |\n (\\[)((?>[^\\[\\]]+|\\[\\g<8>\\])*)(\\])\n |((?:\\S*?\\(\\))|(?:\\S*?))\n )\n)?\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment",
"name": "meta.function.parameter.array.php", "name": "meta.function.parameter.array.php",
"captures": { "captures": {
"1": { "1": {
"name": "storage.type.php" "name": "keyword.operator.nullable-type.php"
}, },
"2": { "2": {
"name": "variable.other.php" "name": "storage.type.php"
}, },
"3": { "3": {
"name": "storage.modifier.reference.php" "name": "variable.other.php"
}, },
"4": { "4": {
"name": "punctuation.definition.variable.php" "name": "storage.modifier.reference.php"
}, },
"5": { "5": {
"name": "keyword.operator.assignment.php" "name": "punctuation.definition.variable.php"
}, },
"6": { "6": {
"name": "constant.language.php" "name": "keyword.operator.assignment.php"
}, },
"7": { "7": {
"name": "punctuation.section.array.begin.php" "name": "constant.language.php"
}, },
"8": { "8": {
"name": "punctuation.section.array.begin.php"
},
"9": {
"patterns": [ "patterns": [
{ {
"include": "#parameter-default-types" "include": "#parameter-default-types"
} }
] ]
}, },
"9": { "10": {
"name": "punctuation.section.array.end.php" "name": "punctuation.section.array.end.php"
}, },
"10": { "11": {
"name": "invalid.illegal.non-null-typehinted.php" "name": "invalid.illegal.non-null-typehinted.php"
} }
} }
}, },
{ {
"begin": "(?xi)\n(\\\\?(?:[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*\\\\)*) # Optional namespace\n([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Typehinted class name\n\\s+((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference", "begin": "(?xi)\n(?:(\\?)\\s*)?\n(\\\\?(?:[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*\\\\)*) # Optional namespace\n([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Typehinted class name\n\\s+((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*) # Variable name with possible reference",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
"name": "keyword.operator.nullable-type.php"
},
"2": {
"name": "support.other.namespace.php", "name": "support.other.namespace.php",
"patterns": [ "patterns": [
{ {
...@@ -1089,19 +1109,19 @@ ...@@ -1089,19 +1109,19 @@
} }
] ]
}, },
"2": { "3": {
"name": "storage.type.php" "name": "storage.type.php"
}, },
"3": { "4": {
"name": "variable.other.php" "name": "variable.other.php"
}, },
"4": { "5": {
"name": "storage.modifier.reference.php" "name": "storage.modifier.reference.php"
}, },
"5": { "6": {
"name": "keyword.operator.variadic.php" "name": "keyword.operator.variadic.php"
}, },
"6": { "7": {
"name": "punctuation.definition.variable.php" "name": "punctuation.definition.variable.php"
} }
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/b61fd56a52f6b85598eda2f3842dfb7447d0d4eb", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/4ef3570784b60450d6baac681cb096fbf1d2397e",
"name": "TypeScript", "name": "TypeScript",
"scopeName": "source.ts", "scopeName": "source.ts",
"patterns": [ "patterns": [
...@@ -3277,6 +3277,10 @@ ...@@ -3277,6 +3277,10 @@
{ {
"name": "keyword.operator.expression.infer.ts", "name": "keyword.operator.expression.infer.ts",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])" "match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.ts",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
} }
] ]
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "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." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/b61fd56a52f6b85598eda2f3842dfb7447d0d4eb", "version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/4ef3570784b60450d6baac681cb096fbf1d2397e",
"name": "TypeScriptReact", "name": "TypeScriptReact",
"scopeName": "source.tsx", "scopeName": "source.tsx",
"patterns": [ "patterns": [
...@@ -3243,6 +3243,10 @@ ...@@ -3243,6 +3243,10 @@
{ {
"name": "keyword.operator.expression.infer.tsx", "name": "keyword.operator.expression.infer.tsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])" "match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.tsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
} }
] ]
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册