mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Update grammars (#242296)
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/62026a70f9fcc42d9222eccfec34ed5ee0784f3d",
|
||||
"version": "https://github.com/dotnet/csharp-tmLanguage/commit/1381bedfb087c18aca67af8278050d11bc9d9349",
|
||||
"name": "C#",
|
||||
"scopeName": "source.cs",
|
||||
"patterns": [
|
||||
@@ -714,11 +714,11 @@
|
||||
},
|
||||
"enum-declaration": {
|
||||
"begin": "(?=\\benum\\b)",
|
||||
"end": "(?<=\\})",
|
||||
"end": "(?<=\\})|(?=;)",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "(?=enum)",
|
||||
"end": "(?=\\{)",
|
||||
"end": "(?=\\{)|(?=;)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment"
|
||||
@@ -805,7 +805,7 @@
|
||||
},
|
||||
"interface-declaration": {
|
||||
"begin": "(?=\\binterface\\b)",
|
||||
"end": "(?<=\\})",
|
||||
"end": "(?<=\\})|(?=;)",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "(?x)\n(interface)\\b\\s+\n(@?[_[:alpha:]][_[:alnum:]]*)",
|
||||
@@ -817,7 +817,7 @@
|
||||
"name": "entity.name.type.interface.cs"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\{)",
|
||||
"end": "(?=\\{)|(?=;)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment"
|
||||
|
||||
Reference in New Issue
Block a user