diff options
Diffstat (limited to 'queries/cpp/highlights.scm')
| -rw-r--r-- | queries/cpp/highlights.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 1f770e9f8..0f12dd8df 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -143,12 +143,20 @@ "template" "typename" "using" - "co_await" "concept" "requires" ] @keyword [ + "co_await" +] @keyword.coroutine + +[ + "co_yield" + "co_return" +] @keyword.coroutine.return + +[ "public" "private" "protected" @@ -157,11 +165,6 @@ ] @type.qualifier [ - "co_yield" - "co_return" -] @keyword.return - -[ "new" "delete" |
