aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java
diff options
context:
space:
mode:
authorhomedirectory <47361170+homedirectory@users.noreply.github.com>2023-06-20 10:51:36 +0300
committerChristian Clason <c.clason@uni-graz.at>2023-06-21 10:46:53 +0200
commit39b9f45a646371736ce95ec0c8cf685a727b5312 (patch)
tree809badd0fdf078e54d9e695651d41161829dab2d /queries/java
parentUpdate parsers: c_sharp, firrtl, gdscript, julia, lua, luau, matlab, squirrel... (diff)
downloadnvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar.gz
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar.bz2
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar.lz
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar.xz
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.tar.zst
nvim-treesitter-39b9f45a646371736ce95ec0c8cf685a727b5312.zip
java highlights: annotation type declaration and AT interface keyword
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"