]> git.eshelyaron.com Git - emacs.git/commit
Improve fontification of typescript-ts-mode (bug#59831)
authorJostein Kjønigsen <jostein@kjonigsen.net>
Mon, 5 Dec 2022 08:31:58 +0000 (09:31 +0100)
committerYuan Fu <casouri@gmail.com>
Mon, 5 Dec 2022 20:27:25 +0000 (12:27 -0800)
commit318bf42b410d4a8ecf0e8ff64280cfd655884877
treee8c7d3400bc7f64b69e2edc8b04bfc1074e82fed
parent64271bbb7d9066080ea1e8dbae72beed979350e6
Improve fontification of typescript-ts-mode (bug#59831)

- Highlight property and field definitions in class declaration.
- Highlight property-keys in object initializaters.
- Highlight variable-names in function/method return-statements.

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings): Add fontification rules.
lisp/progmodes/typescript-ts-mode.el