aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cpp')
-rw-r--r--queries/cpp/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index c0a76c137..05f8d1846 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -7,6 +7,9 @@
((identifier) @field
(#match? @field "_$"))
+; function(Foo ...foo)
+(variadic_parameter_declaration) @parameter
+
;(field_expression) @parameter ;; How to highlight this?
(template_function
name: (identifier) @function)
@@ -103,3 +106,4 @@
] @keyword
"::" @operator
+"..." @operator