aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cpp')
-rw-r--r--queries/cpp/highlights.scm22
1 files changed, 20 insertions, 2 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index 15bc3ac72..c026d54bf 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -101,13 +101,11 @@
"class"
"decltype"
"constexpr"
- "delete"
"explicit"
"final"
"friend"
"mutable"
"namespace"
- "new"
"override"
"private"
"protected"
@@ -119,6 +117,26 @@
(auto)
] @keyword
+[
+ "new"
+ "delete"
+
+ ;; these keywords are not supported by the parser
+ ;"eq"
+ ;"not_eq"
+ ;
+ ;"compl"
+ ;"and"
+ ;"or"
+ ;
+ ;"bitand"
+ ;"bitand_eq"
+ ;"bitor"
+ ;"bitor_eq"
+ ;"xor"
+ ;"xor_eq"
+] @keyword.operator
+
"::" @operator
"..." @operator