highlights(java): Highlight fields (members and member access) (#1107)

This commit is contained in:
Stephan Seitz 2021-03-26 19:25:28 +01:00 committed by GitHub
parent 88ac3d2365
commit 2331a36693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,14 @@
scope: (identifier) @type)
(#match? @type "^[A-Z]"))
; Fields
(field_declaration
declarator: (variable_declarator) @field)
(field_access
field: (identifier) @field)
[
(boolean_type)
(integral_type)