]> git.eshelyaron.com Git - emacs.git/commit
Fontification improvements in typescript-ts-mode (bug#60500)
authorJostein Kjønigsen <jostein@kjonigsen.net>
Mon, 2 Jan 2023 19:56:41 +0000 (20:56 +0100)
committerYuan Fu <casouri@gmail.com>
Mon, 2 Jan 2023 22:26:03 +0000 (14:26 -0800)
commitdfdf9c21cbe7896d03da011773e636fc287d97db
treefb9157e656c9ffb42dcf0b38e5ead0281b93f77b
parent68e68dfeefe0ac64d4ec6c31d046ae5957741109
Fontification improvements in typescript-ts-mode (bug#60500)

- highlight method-definitins in interfaces.
- only highlight variable-declarations, not variables
  everywhere (consistency with other modes).
- move highlighting of method invocations to level 4

* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--font-lock-settings): Update rules.
(typescript-ts-mode, tsx-ts-mode): Update feature list.
lisp/progmodes/typescript-ts-mode.el