diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-17 09:15:01 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-17 16:52:45 +0100 |
| commit | 788814fb06c5518f0c6bc3b9e33cfc6ea2b81d53 (patch) | |
| tree | 7530f685102e48c02ee62e2c69cb669f0e1d3fed /queries/cpp/highlights.scm | |
| parent | 1b9d059c55ff2b13b01fd198688cbb6335e71430 (diff) | |
highlights(cpp): add support for "<=>", "constinit", "consteval"
Diffstat (limited to 'queries/cpp/highlights.scm')
| -rw-r--r-- | queries/cpp/highlights.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index cb5a98f8..c991b956 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 |
