diff options
| author | Yuan Fu | 2026-03-02 23:35:05 -0800 |
|---|---|---|
| committer | Yuan Fu | 2026-03-02 23:59:46 -0800 |
| commit | 18c24866afa786d70f663e2b715e672ec5808f18 (patch) | |
| tree | 9e0dfb15c16f861a105546e971701ed5c35385bc /test/lisp/erc/resources/networks/merge-server | |
| parent | b8ee7d667fc2b5ef147d2a42ada1cb325f085d12 (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
Not a bug report, but this is from the emacs-devel thread
"Tree-sitter: Transcendental things".
Improve tree-sitter thing navigation functions to handle the
case where there are multiple nested parsers in the
buffer. Previously these functions just grab the node at point
and are limited to the parser of that node. Now these functions
will thoUrouly search through all parsers that covers point
before giving up.
* doc/lispref/parsing.texi: Mention the change.
* lisp/treesit.el (treesit--some): New macro.
(treesit--thing-sibling): Use the new macro, add a new PARSER
parameter.
(treesit-thing-prev):
(treesit-thing-next): Add PARSER parameter.
(treesit-thing-at):
(treesit-navigate-thing): Use the new macro, add a new PARSER
parameter. Also pass the PARSER arg to recursive calls and
calls to treesit-thing-prev, etc.
Diffstat (limited to 'test/lisp/erc/resources/networks/merge-server')
0 files changed, 0 insertions, 0 deletions