]> git.eshelyaron.com Git - emacs.git/commit
Tweak various ts-mode's indent and fontification (bug#59931)
authorTheodor Thornhill <theo@thornhill.no>
Fri, 9 Dec 2022 21:36:03 +0000 (22:36 +0100)
committerYuan Fu <casouri@gmail.com>
Mon, 12 Dec 2022 23:08:54 +0000 (15:08 -0800)
commit8ec923775de3482acf4b158a79838eae64fd4980
treec5526fd22dcc4510d9952fcf2afbfc8662dfddd4
parent647b6a8099f414e5a7b162efd3658e174064dfe7
Tweak various ts-mode's indent and fontification (bug#59931)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Add raw
string literal font-locking.
* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): Add
text_block indent rule.
(java-ts-mode--font-lock-settings): Add text_block font-locking.
* lisp/progmodes/js.el (js-ts-mode): Prefer top-level navigation.
* lisp/progmodes/json-ts-mode.el (json-ts-mode--font-lock-settings):
Add comment feature.
(json-ts-mode): Use comment feature.
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode):
Prefer top-level navigation.
lisp/progmodes/c-ts-mode.el
lisp/progmodes/java-ts-mode.el
lisp/progmodes/js.el
lisp/progmodes/json-ts-mode.el
lisp/progmodes/typescript-ts-mode.el