projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d7504
)
Add "this" keyword to java-ts-mode (bug#60086)
author
Theodor Thornhill
<theo@thornhill.no>
Thu, 15 Dec 2022 10:48:32 +0000
(11:48 +0100)
committer
Yuan Fu
<casouri@gmail.com>
Fri, 16 Dec 2022 01:12:10 +0000
(17:12 -0800)
* 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/java-ts-mode.el
b/lisp/progmodes/java-ts-mode.el
index ac591a08599a39c71d7271f80ee125b2ad23ad8d..559a4efef258aba4ace44ed80440548f8335405c 100644
(file)
--- 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