Improve fontification in java-ts-mode (bug#60492)

* lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings):
Add expression_statement with only identifier support.
This commit is contained in:
Theodor Thornhill 2023-01-02 13:46:25 +01:00 committed by Yuan Fu
parent dfdf9c21cb
commit 1a9a1fdebf
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -240,7 +240,9 @@
(method_invocation
name: (identifier) @font-lock-function-name-face)
(argument_list (identifier) @font-lock-variable-name-face))
(argument_list (identifier) @font-lock-variable-name-face)
(expression_statement (identifier) @font-lock-variable-name-face))
:language 'java
:feature 'bracket