]> git.eshelyaron.com Git - emacs.git/commit
Add treesit-forward-sexp (bug#60894)
authorTheodor Thornhill <theo@thornhill.no>
Tue, 17 Jan 2023 20:18:29 +0000 (21:18 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Thu, 19 Jan 2023 18:59:52 +0000 (19:59 +0100)
commit207901457c018d94b1ce9e13a897d8241b1f3af2
tree63fbd1123b4579187adea2c0661d12f807133f2c
parent03a8d132b0e0fe318cc37381a67c1f9a8e82eab3
Add treesit-forward-sexp (bug#60894)

* lisp/progmodes/java-ts-mode.el (java-ts-mode): Use
treesit-sexp-type-regexp.
* lisp/treesit.el (treesit-sexp-type-regexp): New defvar.
(treesit-forward-sexp): New command.
(treesit-major-mode-setup): Conditionally set forward-sexp-function.
* lisp/progmodes/ruby-ts-mode.el: Add some types to ruby-ts-mode.
* doc/lispref/positions.texi (List Motion): Mention the change in the
manual.
* etc/NEWS: Mention the change.
doc/lispref/positions.texi
etc/NEWS
lisp/progmodes/java-ts-mode.el
lisp/progmodes/ruby-ts-mode.el
lisp/treesit.el