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.
This commit is contained in:
Theodor Thornhill
2022-12-15 11:48:32 +01:00
committed by Yuan Fu
parent c8d75046a2
commit cac070b23e

View File

@@ -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