[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 cac070b23e: Add "this" keyword to java-ts-mode (bug#60086)
From: |
Yuan Fu |
Subject: |
emacs-29 cac070b23e: Add "this" keyword to java-ts-mode (bug#60086) |
Date: |
Thu, 15 Dec 2022 20:12:28 -0500 (EST) |
branch: emacs-29
commit cac070b23e4d555a194d67c3a842fad81285df72
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Yuan Fu <casouri@gmail.com>
Add "this" keyword to java-ts-mode (bug#60086)
* lisp/progmodes/java-ts-mode.el
(java-ts-mode--font-lock-settings): Add the node to the keyword
feature.
---
lisp/progmodes/java-ts-mode.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el
index ac591a0859..559a4efef2 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -144,9 +144,10 @@
:language 'java
:override t
:feature 'keyword
- `([,@java-ts-mode--keywords] @font-lock-keyword-face
- (labeled_statement
- (identifier) @font-lock-keyword-face))
+ `([,@java-ts-mode--keywords
+ (this)] @font-lock-keyword-face
+ (labeled_statement
+ (identifier) @font-lock-keyword-face))
:language 'java
:override t
:feature 'operator
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 cac070b23e: Add "this" keyword to java-ts-mode (bug#60086),
Yuan Fu <=