diff options
| author | Stefan Kangas | 2023-01-12 06:30:12 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2023-01-12 06:30:12 +0100 |
| commit | e2abb95b6b03d13e60609ee85ea00bbf44a0bd6b (patch) | |
| tree | 64cbc652e2ab5104fa03205cb584dadf0e10d2ef /lisp/progmodes/java-ts-mode.el | |
| parent | c51bfef34a6bdefad048444c279ea5b63a6aada1 (diff) | |
| parent | f4f30ff4c44dcfdf780f1981aa541af713f2805f (diff) | |
| download | emacs-e2abb95b6b03d13e60609ee85ea00bbf44a0bd6b.tar.gz emacs-e2abb95b6b03d13e60609ee85ea00bbf44a0bd6b.zip | |
Merge from origin/emacs-29
f4f30ff4c44 Update to Org 9.6.1
09f7a920644 Add support for annotation_type_declaration
4a8891a462e * etc/NEWS: Mention incompatible changes in 'outline-mino...
384504edf35 Ensure VC package names are not empty
70947da708c Handle missing package description when unpacking vc pack...
# Conflicts:
# etc/NEWS
Diffstat (limited to 'lisp/progmodes/java-ts-mode.el')
| -rw-r--r-- | lisp/progmodes/java-ts-mode.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index 87a4e2b90f8..8d432f1774e 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el | |||
| @@ -122,7 +122,8 @@ | |||
| 122 | "provides" "public" "requires" "return" "sealed" | 122 | "provides" "public" "requires" "return" "sealed" |
| 123 | "static" "strictfp" "switch" "synchronized" | 123 | "static" "strictfp" "switch" "synchronized" |
| 124 | "throw" "throws" "to" "transient" "transitive" | 124 | "throw" "throws" "to" "transient" "transitive" |
| 125 | "try" "uses" "volatile" "while" "with" "record") | 125 | "try" "uses" "volatile" "while" "with" "record" |
| 126 | "@interface") | ||
| 126 | "Java keywords for tree-sitter font-locking.") | 127 | "Java keywords for tree-sitter font-locking.") |
| 127 | 128 | ||
| 128 | (defvar java-ts-mode--operators | 129 | (defvar java-ts-mode--operators |
| @@ -183,7 +184,10 @@ | |||
| 183 | :language 'java | 184 | :language 'java |
| 184 | :override t | 185 | :override t |
| 185 | :feature 'type | 186 | :feature 'type |
| 186 | '((interface_declaration | 187 | '((annotation_type_declaration |
| 188 | name: (identifier) @font-lock-type-face) | ||
| 189 | |||
| 190 | (interface_declaration | ||
| 187 | name: (identifier) @font-lock-type-face) | 191 | name: (identifier) @font-lock-type-face) |
| 188 | 192 | ||
| 189 | (class_declaration | 193 | (class_declaration |