Skip to content

Commit 349c8a6

Browse files
authored
[clike mode] Add new C# keywords
1 parent fe0bc6d commit 349c8a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mode/clike/clike.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
512512
name: "clike",
513513
keywords: words("abstract as async await base break case catch checked class const continue" +
514514
" default delegate do else enum event explicit extern finally fixed for" +
515-
" foreach goto if implicit in interface internal is lock namespace new" +
516-
" operator out override params private protected public readonly ref return sealed" +
515+
" foreach goto if implicit in init interface internal is lock namespace new" +
516+
" operator out override params private protected public readonly record ref required return sealed" +
517517
" sizeof stackalloc static struct switch this throw try typeof unchecked" +
518518
" unsafe using virtual void volatile while add alias ascending descending dynamic from get" +
519519
" global group into join let orderby partial remove select set value var yield"),
@@ -522,7 +522,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
522522
" UInt64 bool byte char decimal double short int long object" +
523523
" sbyte float string ushort uint ulong"),
524524
blockKeywords: words("catch class do else finally for foreach if struct switch try while"),
525-
defKeywords: words("class interface namespace struct var"),
525+
defKeywords: words("class interface namespace record struct var"),
526526
typeFirstDefinitions: true,
527527
atoms: words("true false null"),
528528
hooks: {

0 commit comments

Comments
 (0)