emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree-sitter integration on feature/tree-sitter


From: Theodor Thornhill
Subject: Re: Tree-sitter integration on feature/tree-sitter
Date: Sat, 14 May 2022 07:03:16 +0200

>
> Now there is treesit-beginning/end-of-defun. You just need to set 
> treesit-defun-query and everything else come for free. I needed to invent 
> some heavy machinery for that, resulting in some new handy functions:
>
> - treesit-traverse-depth-first
> - treesit-traverse-breadth-first
> - treesit-traverse-forward-depth-first (maybe this should be named simply 
> treesit-traverse-forward?)
>
> - treesit-search-forward
> - treesit-search-beginning
> - treesit-search-end
>

I cannot find them on the branch - did you push them?

> They are untested & undocumented (in manual), so please play with them and 
> report problems :-)
>

Will do :)

Theo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]