Skip to content

Commit 11fa2a7

Browse files
committed
Better highlighting
1 parent f6968bb commit 11fa2a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

queries/highlights.scm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@
138138
(cpp2_template_identifier
139139
(cpp2_non_template_identifier) @type)))))
140140

141+
(cpp2_function_type
142+
return: (cpp2_expression
143+
(cpp2_any_identifier
144+
last: (cpp2_no_namespace_identifier
145+
(cpp2_non_template_identifier) @type))))
146+
141147
(cpp2_next) @keyword
142148

143149
(cpp2_type_type) @keyword

0 commit comments

Comments
 (0)