]> git.eshelyaron.com Git - emacs.git/commit
Improve indentation for jsx
authorTheodor Thornhill <theo@thornhill.no>
Sun, 15 Jan 2023 20:31:16 +0000 (21:31 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sun, 15 Jan 2023 20:51:08 +0000 (21:51 +0100)
commit44c9cb8653d19843b5e9f131b139aad7c1c4774b
treecb42c5db005d40a1c2fb60e2148eaab5d4fe8363
parent82ae9caaddb561de7709dbab818311a6e3db3f50
Improve indentation for jsx

* lisp/progmodes/js.el (js--treesit-indent-rules): Use more parent
anchors and fix typo with wrong indent offset variable.
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Use more parent anchors.
lisp/progmodes/js.el
lisp/progmodes/typescript-ts-mode.el