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
2fccf827
Commit
2fccf827
authored
11 years ago
by
Patil Arpith
Committed by
Marijn Haverbeke
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[clike mode] Added C++11 keywords
parent
68611527
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
+2
-1
2 additions, 1 deletion
mode/clike/clike.js
with
2 additions
and
1 deletion
mode/clike/clike.js
+
2
−
1
View file @
2fccf827
...
...
@@ -235,7 +235,8 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
keywords
:
words
(
cKeywords
+
"
asm dynamic_cast namespace reinterpret_cast try bool explicit new
"
+
"
static_cast typeid catch operator template typename class friend private
"
+
"
this using const_cast inline public throw virtual delete mutable protected
"
+
"
wchar_t
"
),
"
wchar_t alignas alignof constexpr decltype nullptr noexcept thread_local final
"
+
"
static_assert override
"
),
blockKeywords
:
words
(
"
catch class do else finally for if struct switch try while
"
),
atoms
:
words
(
"
true false null
"
),
hooks
:
{
"
#
"
:
cppHook
},
...
...
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