Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeMirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Moritz Aurel Pascal Schubotz
CodeMirror
Commits
e3cc695a
Commit
e3cc695a
authored
9 years ago
by
Michal Dorner
Committed by
Marijn Haverbeke
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[clike mode] Add C# keywords/builtins: async, await, Action, Func, Task
parent
de9a6b9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mode/clike/clike.js
+3
-3
3 additions, 3 deletions
mode/clike/clike.js
with
3 additions
and
3 deletions
mode/clike/clike.js
+
3
−
3
View file @
e3cc695a
...
...
@@ -336,7 +336,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
def
(
"
text/x-csharp
"
,
{
name
:
"
clike
"
,
keywords
:
words
(
"
abstract as base break case catch checked class const continue
"
+
keywords
:
words
(
"
abstract as
async await
base break case catch checked class const continue
"
+
"
default delegate do else enum event explicit extern finally fixed for
"
+
"
foreach goto if implicit in interface internal is lock namespace new
"
+
"
operator out override params private protected public readonly ref return sealed
"
+
...
...
@@ -344,8 +344,8 @@ 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
"
),
blockKeywords
:
words
(
"
catch class do else finally for foreach if struct switch try while
"
),
builtin
:
words
(
"
Boolean Byte Char DateTime DateTimeOffset Decimal Double
"
+
"
Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32
"
+
builtin
:
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
"
),
atoms
:
words
(
"
true false null
"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment