Skip to content

Commit

Permalink
Merge pull request #74 from andreasfertig/addedCpp20Keywords
Browse files Browse the repository at this point in the history
Added C++20 keywords to syntax highlighting.
  • Loading branch information
andreasfertig authored Jun 28, 2024
2 parents 3efaf81 + 4bd003c commit 13b1b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/static/cm/clike.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
"static_cast typeid catch operator template typename class friend private " +
"this using const_cast inline public throw virtual delete mutable protected " +
"alignas alignof constexpr decltype nullptr noexcept thread_local final " +
"static_assert override"),
"static_assert override co_return co_yield co_await consteval constinit"),
types: words(cTypes + " bool wchar_t"),
blockKeywords: words("catch class do else finally for if struct switch try while"),
defKeywords: words("class namespace struct enum union"),
Expand Down

0 comments on commit 13b1b48

Please sign in to comment.