Skip to content

Commit

Permalink
enh(csharp) add contextual keywords file, args, dynamic, `recor…
Browse files Browse the repository at this point in the history
…d`, `required` and `scoped` (#4087)
  • Loading branch information
alvinsjoy authored Aug 10, 2024
1 parent 263980c commit 1711895
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Core Grammars:
- enh(erlang) OTP 27 Sigil type [nixxquality][]
- enh(erlang) OTP25/27 maybe statement [nixxquality][]
- enh(dart) Support digit-separators in number literals [Sam Rawlins][]
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][]

New Grammars:

Expand All @@ -35,6 +36,7 @@ CONTRIBUTORS
[William Wilkinson]: https://github.com/wilkinson4
[nixxquality]: https://github.com/nixxquality
[srawlins]: https://github.com/srawlins
[Alvin Joy]: https://github.com/alvinsjoy


## Version 11.10.0
Expand Down
6 changes: 6 additions & 0 deletions src/languages/csharp.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,14 @@ export default function(hljs) {
'alias',
'and',
'ascending',
'args',
'async',
'await',
'by',
'descending',
'dynamic',
'equals',
'file',
'from',
'get',
'global',
Expand All @@ -137,7 +140,10 @@ export default function(hljs) {
'or',
'orderby',
'partial',
'record',
'remove',
'required',
'scoped',
'select',
'set',
'unmanaged',
Expand Down

0 comments on commit 1711895

Please sign in to comment.