mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
feat(editor/scheme/java): syntax highlight field in a field access
This commit is contained in:
@@ -83,6 +83,9 @@
|
||||
|
||||
; Variables
|
||||
|
||||
(field_access
|
||||
field: (_) @variable.field)
|
||||
|
||||
((identifier) @constant
|
||||
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user