aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java
diff options
context:
space:
mode:
Diffstat (limited to 'queries/java')
-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 f7e1c4792..28c450059 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -84,6 +84,8 @@
(interface_declaration
name: (identifier) @type)
+(annotation_type_declaration
+ name: (identifier) @type)
(class_declaration
name: (identifier) @type)
(record_declaration
@@ -169,6 +171,7 @@
"implements"
"instanceof"
"interface"
+ "@interface"
"permits"
"to"
"with"