cpp: highlight template method identifier as a method

This commit is contained in:
John Drouhard 2021-09-26 16:40:50 -05:00 committed by Stephan Seitz
parent eb3a09cb28
commit e643eb5dbd

View file

@ -17,6 +17,9 @@
(template_function
name: (identifier) @function)
(template_method
name: (field_identifier) @method)
(((field_expression
(field_identifier) @method)) @_parent
(#has-parent? @_parent template_method function_declarator call_expression))