C++ highlights: Highlight variadic parameters

This commit is contained in:
Stephan Seitz 2020-07-20 08:00:28 +02:00 committed by Thomas Vigouroux
parent 3c0684f7f2
commit 58d52ea62d

View file

@ -7,6 +7,9 @@
((identifier) @field ((identifier) @field
(#match? @field "_$")) (#match? @field "_$"))
; function(Foo ...foo)
(variadic_parameter_declaration) @parameter
;(field_expression) @parameter ;; How to highlight this? ;(field_expression) @parameter ;; How to highlight this?
(template_function (template_function
name: (identifier) @function) name: (identifier) @function)
@ -103,3 +106,4 @@
] @keyword ] @keyword
"::" @operator "::" @operator
"..." @operator