Update grammars (#242296)

This commit is contained in:
Alex Ross
2025-02-28 13:20:44 +01:00
committed by GitHub
parent 4cf2712386
commit a267073204
11 changed files with 169 additions and 116 deletions

View File

@@ -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"