]> git.eshelyaron.com Git - emacs.git/commit
; * lisp/treesit.el: Remove TODO for integration with thing-at-point.
authorJuri Linkov <juri@linkov.net>
Wed, 12 Feb 2025 17:41:12 +0000 (19:41 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 13 Feb 2025 11:51:34 +0000 (12:51 +0100)
commit99e88301c2d86723b2aeb823a433489725b072bf
treefe58d5ce0cb53ae167d94fa306b8918b9c1a3395
parent5feb78ce7fda711dfd5e332bb04c951d312baadb
; * lisp/treesit.el: Remove TODO for integration with thing-at-point.

At this point, thing-at-point with all standard things
is already supported by treesit, for example:
"(thing-at-point 'defun)" by treesit-beginning-of-defun,
"(thing-at-point 'sexp)" by treesit-forward-sexp,
"(thing-at-point 'list)" by treesit-up-list,
"(thing-at-point 'sentence)" by treesit-forward-sentence,
"(thing-at-point 'comment)" by treesit-forward-comment.
https://lists.gnu.org/archive/html/emacs-devel/2025-02/msg00384.html

(cherry picked from commit b514ec87b618e4ee9a95b248eb55c5e0cc69949c)
lisp/treesit.el