]> git.eshelyaron.com Git - emacs.git/commit
Improve tree-sitter indent rules in ts-mode and js-mode
authorTheodor Thornhill <theo@thornhill.no>
Fri, 28 Oct 2022 04:05:02 +0000 (21:05 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 28 Oct 2022 08:15:46 +0000 (01:15 -0700)
commit75c8cc5eab51d1080424687167fec4feb34f68c1
tree04d9b76726e10f99cde28ed1534a4edf1328009d
parent9c4dddad456e23892a80303da26774a13250b647
Improve tree-sitter indent rules in ts-mode and js-mode

* lisp/progmodes/js.el (js--treesit-indent-rules)
* lisp/progmodes/ts-mode.el (ts-mode--indent-rules): Add more rules.
(ts-mode): Create parser.
lisp/progmodes/js.el
lisp/progmodes/ts-mode.el