From e250232559fc50e02451de52e72acedc879040a4 Mon Sep 17 00:00:00 2001 From: Yuko Zheng Date: Sat, 22 Feb 2025 17:17:31 +0800 Subject: [PATCH] Update clike.js --- mode/clike/clike.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mode/clike/clike.js b/mode/clike/clike.js index e9f441fc0a..cff4aa6a9d 100644 --- a/mode/clike/clike.js +++ b/mode/clike/clike.js @@ -519,9 +519,10 @@ CodeMirror.defineMode("clike", function(config, parserConfig) { " unsafe using virtual void volatile while add alias ascending descending dynamic from get" + " global group into join let orderby partial remove select set value var yield"), types: words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func" + - " Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32" + - " UInt64 bool byte char decimal double short int long object" + - " sbyte float string ushort uint ulong"), + " Guid Int16 Int32 Int64 Object SByte Single String Task ValueTask TimeSpan UInt16 UInt32" + + " UInt64 bool byte char decimal double short int long object Span Memory ArraySegment IAsyncEnumerable" + + " sbyte float string ushort uint ulong Array List Dictionary IDisposable IAsyncDisposable " + + " ICollection IList IEnumerable IDictionary Stream"), blockKeywords: words("catch class do else finally for foreach if struct switch try while"), defKeywords: words("class interface namespace record struct var"), typeFirstDefinitions: true,