]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "this" keyword to java-ts-mode (bug#60086)
authorTheodor Thornhill <theo@thornhill.no>
Thu, 15 Dec 2022 10:48:32 +0000 (11:48 +0100)
committerYuan 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

index ac591a08599a39c71d7271f80ee125b2ad23ad8d..559a4efef258aba4ace44ed80440548f8335405c 100644 (file)
    :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