mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat(java)(highlights): add missing highlights for @type
This commit is contained in:
parent
8b1d390619
commit
b42de97339
1 changed files with 6 additions and 0 deletions
|
|
@ -90,6 +90,12 @@
|
||||||
(constructor_declaration
|
(constructor_declaration
|
||||||
name: (identifier) @type)
|
name: (identifier) @type)
|
||||||
(type_identifier) @type
|
(type_identifier) @type
|
||||||
|
((method_invocation
|
||||||
|
object: (identifier) @type)
|
||||||
|
(#lua-match? @type "^[A-Z]"))
|
||||||
|
((method_reference
|
||||||
|
. (identifier) @type)
|
||||||
|
(#lua-match? @type "^[A-Z]"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue