[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 23a14e7b902: Add compact_constructor_declaration font-locking t
|
From: |
Theodor Thornhill |
|
Subject: |
emacs-29 23a14e7b902: Add compact_constructor_declaration font-locking to java-ts-mode |
|
Date: |
Tue, 30 May 2023 09:30:41 -0400 (EDT) |
branch: emacs-29
commit 23a14e7b9026a8572fe8ae8759232e08cd37910a
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>
Add compact_constructor_declaration font-locking to java-ts-mode
* lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings):
New pattern.
---
lisp/progmodes/java-ts-mode.el | 3 +++
1 file changed, 3 insertions(+)
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)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 23a14e7b902: Add compact_constructor_declaration font-locking to java-ts-mode,
Theodor Thornhill <=