Skip to content

Commit

Permalink
Highlight body of C# 6 expression bodied members properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanz committed Aug 17, 2016
1 parent fe328c0 commit aec9b57
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions syntaxes/csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,21 @@
}
]
},
{
"begin": "=>",
"beginCaptures": {
"0": {
"name": "punctuation.section.method.begin.cs"
}
},
"end": "(?=;)",
"name": "meta.method.body.cs",
"patterns": [
{
"include": "#code"
}
]
},
{
"begin": "{",
"beginCaptures": {
Expand Down

0 comments on commit aec9b57

Please sign in to comment.