]> git.eshelyaron.com Git - emacs.git/commit
Tweak faces in Java and TypeScript
authorTheodor Thornhill <theo@thornhill.no>
Mon, 21 Nov 2022 12:12:03 +0000 (13:12 +0100)
committerYuan Fu <casouri@gmail.com>
Tue, 22 Nov 2022 09:06:51 +0000 (01:06 -0800)
commitd6d4adf3bd8d2cfbc441095315dfc0bd3f5c1784
tree0fcb02bb1a0f5715c06b4b09718a48c82ebdee9b
parent6e078380512675aabd45ed752f60ebe424efd89d
Tweak faces in Java and TypeScript

* lisp/progmodes/java-ts-mode.el (java-ts-mode--operators): Remove @
as an operator.

(java-ts-mode--font-lock-settings): Use constant-face for @ to match
rest of the annotation.  Add bracket, delimiter and use some of the
new faces.

(java-ts-mode--imenu): Clean up the implementation a little.

(java-ts-mode): Refer to the new features.

* lisp/progmodes/ts-mode.el (ts-mode--font-lock-settings, ts-mode):
Add in bracket and delimiter'.
lisp/progmodes/java-ts-mode.el
lisp/progmodes/ts-mode.el