diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index fca00cdce4f..44dfd74cafd 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -226,6 +226,9 @@ the available version of Tree-sitter for java." (constructor_declaration name: (identifier) @font-lock-type-face) + (compact_constructor_declaration + name: (identifier) @font-lock-type-face) + (field_access object: (identifier) @font-lock-type-face)