aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/java/highlights.scm3
1 files changed, 3 insertions, 0 deletions
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