From: Theodor Thornhill Date: Tue, 30 May 2023 13:29:38 +0000 (+0200) Subject: Add compact_constructor_declaration font-locking to java-ts-mode X-Git-Tag: emacs-29.0.92~74 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=23a14e7b9026a8572fe8ae8759232e08cd37910a;p=emacs.git Add compact_constructor_declaration font-locking to java-ts-mode * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): New pattern. --- 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)