mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Update grammars
This commit is contained in:
@@ -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/dotnet/csharp-tmLanguage/commit/5426265f1be3f8056a984b709fadf56b9ce4c400",
|
||||
"version": "https://github.com/dotnet/csharp-tmLanguage/commit/483d25bfa2b96474b55d2e9e4d1ca2acbd542034",
|
||||
"name": "C#",
|
||||
"scopeName": "source.cs",
|
||||
"patterns": [
|
||||
@@ -530,7 +530,7 @@
|
||||
"name": "keyword.other.namespace.cs"
|
||||
}
|
||||
},
|
||||
"end": "(?<=\\})",
|
||||
"end": "(?<=\\})|(?=;)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment"
|
||||
@@ -3075,27 +3075,27 @@
|
||||
{
|
||||
"include": "#tuple-literal-element"
|
||||
},
|
||||
{
|
||||
"include": "#expression"
|
||||
},
|
||||
{
|
||||
"include": "#punctuation-comma"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tuple-literal-element": {
|
||||
"begin": "(?x)\n(?:(@?[_[:alpha:]][_[:alnum:]]*)\\s*(:)\\s*)?\n(?![,)])",
|
||||
"begin": "(?x)\n(@?[_[:alpha:]][_[:alnum:]]*)\\s*\n(?=:)",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "entity.name.variable.tuple-element.cs"
|
||||
},
|
||||
"1": {
|
||||
"name": "punctuation.separator.colon.cs"
|
||||
"name": "entity.name.variable.tuple-element.cs"
|
||||
}
|
||||
},
|
||||
"end": "(?=[,)])",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#expression"
|
||||
"end": "(:)",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.separator.colon.cs"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"expression-operators": {
|
||||
"patterns": [
|
||||
|
||||
Reference in New Issue
Block a user