diff options
| author | homedirectory <47361170+homedirectory@users.noreply.github.com> | 2023-06-20 10:51:36 +0300 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-06-21 10:46:53 +0200 |
| commit | 39b9f45a646371736ce95ec0c8cf685a727b5312 (patch) | |
| tree | 809badd0fdf078e54d9e695651d41161829dab2d /queries/java | |
| parent | Update parsers: c_sharp, firrtl, gdscript, julia, lua, luau, matlab, squirrel... (diff) | |
| download | nvim-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.scm | 3 |
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" |
