]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit-forward-sexp/list navigation in the middle of a node.
authorJuri Linkov <juri@linkov.net>
Thu, 10 Apr 2025 16:20:35 +0000 (19:20 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 11 Apr 2025 11:36:31 +0000 (13:36 +0200)
commitc353bb2ef5410a89c3816f60f6990a6c433e001c
tree19de2268d2f74e0c9a3ea09fcdf8bc5d7ab4e418
parentbfdcb1943553ff004e5c5b071bcd8f1f170eb44b
Fix treesit-forward-sexp/list navigation in the middle of a node.

* lisp/treesit.el (treesit--forward-list-with-default):
Check the thing 'sexp-default' (bug#76791).

* lisp/progmodes/elixir-ts-mode.el (elixir-ts-mode):
* lisp/progmodes/go-ts-mode.el (go-ts-mode):
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
* lisp/progmodes/sh-script.el (bash-ts-mode):
Add the thing 'sexp-default' to 'treesit-thing-settings'.

(cherry picked from commit ec62674cb959278240a56246cb6a958217dd17c0)
lisp/progmodes/elixir-ts-mode.el
lisp/progmodes/go-ts-mode.el
lisp/progmodes/ruby-ts-mode.el
lisp/progmodes/sh-script.el
lisp/treesit.el