From b42de973399ff6aea8530de7240b6bf897ed6b03 Mon Sep 17 00:00:00 2001 From: captainko Date: Tue, 18 Jan 2022 20:53:20 +0700 Subject: feat(java)(highlights): add missing highlights for `@type` --- queries/java/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index 19276b3c1..dfac3aadf 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -90,6 +90,12 @@ (constructor_declaration name: (identifier) @type) (type_identifier) @type +((method_invocation + object: (identifier) @type) + (#lua-match? @type "^[A-Z]")) +((method_reference + . (identifier) @type) + (#lua-match? @type "^[A-Z]")) -- cgit v1.2.3-70-g09d2