]> git.eshelyaron.com Git - emacs.git/commit
Fix tree-sitter navigation
authorYuan Fu <casouri@gmail.com>
Wed, 26 Oct 2022 22:34:02 +0000 (15:34 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 26 Oct 2022 22:34:02 +0000 (15:34 -0700)
commit734df28368c7f7c21b1068a67d4ae89e64d4a3d3
tree657a6f1dc75ed61def5c705d8d486eb789dae175
parente868955bff3b97bad88bd09b4401e87cab94011c
Fix tree-sitter navigation

* lisp/treesit.el (treesit-search-forward-goto): Track current
position with a local variable instead of (point).  Clean up the
condition forms.
(treesit-beginning-of-defun): Fix traverse direction.
lisp/treesit.el