]> git.eshelyaron.com Git - emacs.git/commit
Add indent rules to js/typescript/tsx-ts-mode (bug#60074)
authorTheodor Thornhill <theo@thornhill.no>
Wed, 14 Dec 2022 20:23:33 +0000 (21:23 +0100)
committerYuan Fu <casouri@gmail.com>
Wed, 14 Dec 2022 22:39:29 +0000 (14:39 -0800)
commit2ca06aed7b39afdc00041ab7cd9c7a8cb50332f6
treed227c62bf65f3e600f622b7e6f464dee1f8f4748
parenta54d5f500c1a9959b1f87c731aa9ac1b7eed27c9
Add indent rules to js/typescript/tsx-ts-mode (bug#60074)

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Add in binary_expression and
jsx_fragment.
* lisp/progmodes/js.el (js--treesit-indent-rules): Add the same rules.
lisp/progmodes/js.el
lisp/progmodes/typescript-ts-mode.el