aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/net/key.pem
diff options
context:
space:
mode:
authorYuan Fu2026-03-02 23:35:05 -0800
committerYuan Fu2026-03-02 23:59:46 -0800
commit18c24866afa786d70f663e2b715e672ec5808f18 (patch)
tree9e0dfb15c16f861a105546e971701ed5c35385bc /test/data/net/key.pem
parentb8ee7d667fc2b5ef147d2a42ada1cb325f085d12 (diff)
downloademacs-master.tar.gz
emacs-master.zip
Make tree-sitter thing navigation handle nested parsersHEADmaster
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/data/net/key.pem')
0 files changed, 0 insertions, 0 deletions