diff --git a/crates/languages/src/cpp/highlights.scm b/crates/languages/src/cpp/highlights.scm index f89e0b9c21..bd988445bb 100644 --- a/crates/languages/src/cpp/highlights.scm +++ b/crates/languages/src/cpp/highlights.scm @@ -25,15 +25,6 @@ (module_name (identifier) @module))) -(co_await_expression - operator: "co_await" @keyword.operator) - -(co_return_statement - "co_return" @keyword.operator) - -(co_yield_statement - "co_yield" @keyword.operator) - (call_expression function: (qualified_identifier name: (identifier) @function)) @@ -119,6 +110,9 @@ type: (primitive_type) @type.builtin "case" "catch" "class" + "co_await" + "co_return" + "co_yield" "concept" "consteval" "constexpr" @@ -168,12 +162,6 @@ type: (primitive_type) @type.builtin (type_qualifier) ] @keyword -[ - "co_await" - "co_return" - "co_yield" -] @keyword.operator - [ "#define" "#elif"