diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index aadb804af..0f7e4feca 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -87,6 +87,9 @@ (constructor_declaration name: (identifier) @type) +(compact_constructor_declaration + name: (identifier) @type) + (type_identifier) @type ((type_identifier) @type.builtin