From 788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 17 Jan 2022 09:15:01 +0100 Subject: highlights(cpp): add support for "<=>", "constinit", "consteval" --- queries/cpp/highlights.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'queries/cpp') diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index cb5a98f85..c991b956c 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -127,6 +127,8 @@ "co_await" "concept" "requires" + "consteval" + "constinit" (auto) ] @keyword @@ -155,7 +157,10 @@ ;"xor_eq" ] @keyword.operator -"::" @operator +[ + "<=>" + "::" +] @operator (attribute_declaration) @attribute -- cgit v1.2.3-70-g09d2