(block_comment) @font-lock-comment-face)
:language 'java
:override t
- :feature 'constant
- `((identifier) @java-ts-mode--fontify-constant
- [(true) (false)] @font-lock-constant-face)
- :language 'java
- :override t
:feature 'keyword
`([,@java-ts-mode--keywords
(this)
(argument_list (identifier) @font-lock-variable-name-face)
(expression_statement (identifier) @font-lock-variable-use-face))
-
+ ;; Make sure the constant feature is after expression and definition,
+ ;; because those two applies variable-name-face on some constants.
+ :language 'java
+ :override t
+ :feature 'constant
+ `((identifier) @java-ts-mode--fontify-constant
+ [(true) (false)] @font-lock-constant-face)
:language 'java
:feature 'bracket
'((["(" ")" "[" "]" "{" "}"]) @font-lock-bracket-face)