Add compact_constructor_declaration font-locking to java-ts-mode
* lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): New pattern.
This commit is contained in:
parent
500abc4dc3
commit
23a14e7b90
1 changed files with 3 additions and 0 deletions
|
@ -226,6 +226,9 @@ the available version of Tree-sitter for java."
|
||||||
(constructor_declaration
|
(constructor_declaration
|
||||||
name: (identifier) @font-lock-type-face)
|
name: (identifier) @font-lock-type-face)
|
||||||
|
|
||||||
|
(compact_constructor_declaration
|
||||||
|
name: (identifier) @font-lock-type-face)
|
||||||
|
|
||||||
(field_access
|
(field_access
|
||||||
object: (identifier) @font-lock-type-face)
|
object: (identifier) @font-lock-type-face)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue