diff options
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/highlights.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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]")) |
