]> git.eshelyaron.com Git - emacs.git/commit
Remove hack in js-mode's tree-sitter indentation rules
authorYuan Fu <casouri@gmail.com>
Sat, 29 Oct 2022 16:50:46 +0000 (09:50 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 29 Oct 2022 16:50:46 +0000 (09:50 -0700)
commit8607f018fd8bef7443415ff2e356d035843ad828
treebd8043fd5f62bf445fd0547676ed1b60351e328b
parentce5ae0117e3ea009ccdd8d8f4c1365301d24f90b
Remove hack in js-mode's tree-sitter indentation rules

* lisp/progmodes/js.el (js--treesit-backward-up-list): Remove
function.
(js--treesit-indent-rules): Replace with new rule.
lisp/progmodes/js.el