]> 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 07:36:01 +0000 (23:36 -0800)
commit7144e38da828c885b6d11c96bbccbd72f527c162
treed3173838c10ffe196cb06dbf19e55318d941fcbb
parent80839498614a3d898daabc2725fb814ce1e3ace0
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