]> git.eshelyaron.com Git - emacs.git/commit
Keep cursor position in treesit-indent
authorYuan Fu <casouri@gmail.com>
Sat, 29 Oct 2022 18:50:15 +0000 (11:50 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 29 Oct 2022 18:59:45 +0000 (11:59 -0700)
commita915d836fce238cd57233f67e8d2451a26d2fb6b
tree051c3686fdcf41d70e6a76a32292b2cf4364fb24
parent8607f018fd8bef7443415ff2e356d035843ad828
Keep cursor position in treesit-indent

* lisp/treesit.el (treesit-indent): Create a marker and jump back to
that marker after indentation.
lisp/treesit.el