Add some keywords to java-ts-mode--keywords (bug#75154)

* lisp/progmodes/java-ts-mode.el:
(java-ts-mode--keywords): Add keywords, remove @interface.
This commit is contained in:
Yuan Fu 2025-03-16 22:38:26 -07:00
parent 3d2d95e284
commit eb63d0c04a
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -180,17 +180,16 @@ PARENT and BOL are the as in other matchers."
"Tree-sitter indent rules.")
(defvar java-ts-mode--keywords
'("abstract" "assert" "break" "case" "catch"
"class" "continue" "default" "do" "else"
"enum" "exports" "extends" "final" "finally"
'("abstract" "assert" "break"
"case" "catch" "class" "continue" "default" "do"
"else" "enum" "exports" "extends" "final" "finally"
"for" "if" "implements" "import" "instanceof"
"interface" "module" "native" "new" "non-sealed"
"open" "opens" "package" "private" "protected"
"provides" "public" "requires" "return" "sealed"
"static" "strictfp" "switch" "synchronized"
"throw" "throws" "to" "transient" "transitive"
"try" "uses" "volatile" "while" "with" "record"
"@interface")
"interface" "long" "module" "native" "new" "non-sealed"
"open" "opens" "package" "permits" "private" "protected"
"provides" "public" "record" "requires" "return" "sealed"
"short" "static" "strictfp" "switch" "synchronized"
"throw" "throws" "to" "transient" "transitive" "try"
"uses" "volatile" "when" "while" "with" "yield")
"Java keywords for tree-sitter font-locking.")
(defvar java-ts-mode--operators