mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
java highlights: annotation type declaration and AT interface keyword
This commit is contained in:
parent
e015524926
commit
39b9f45a64
1 changed files with 3 additions and 0 deletions
|
|
@ -84,6 +84,8 @@
|
||||||
|
|
||||||
(interface_declaration
|
(interface_declaration
|
||||||
name: (identifier) @type)
|
name: (identifier) @type)
|
||||||
|
(annotation_type_declaration
|
||||||
|
name: (identifier) @type)
|
||||||
(class_declaration
|
(class_declaration
|
||||||
name: (identifier) @type)
|
name: (identifier) @type)
|
||||||
(record_declaration
|
(record_declaration
|
||||||
|
|
@ -169,6 +171,7 @@
|
||||||
"implements"
|
"implements"
|
||||||
"instanceof"
|
"instanceof"
|
||||||
"interface"
|
"interface"
|
||||||
|
"@interface"
|
||||||
"permits"
|
"permits"
|
||||||
"to"
|
"to"
|
||||||
"with"
|
"with"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue