aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/cpp/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index a81efa89d..38bb7f2fd 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -48,6 +48,8 @@
name: (identifier) @constructor))
(#match? @constructor "^[A-Z]"))
+(operator_name) @function
+
(call_expression
function: (scoped_identifier
name: (identifier) @function))