fix: Move coroutines keywords to similar control flow highlight
This commit is contained in:
parent
ad505e6568
commit
2596c350cd
1 changed files with 3 additions and 15 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue