]> git.eshelyaron.com Git - emacs.git/commit
Allow checking for outdated nodes in tree-sitter
authorYuan Fu <casouri@gmail.com>
Wed, 16 Nov 2022 05:54:30 +0000 (21:54 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 16 Nov 2022 22:40:41 +0000 (14:40 -0800)
commit639821d49ab9497908d8d3bcd472aed558c251e1
tree9cf43760579848fc3e75fd2cae407c432bd8c846
parent75b65b3f67eb9a4e5722780cb915b880e667d674
Allow checking for outdated nodes in tree-sitter

Now you can run (treesit-node-check node 'outdated).

* doc/lispref/parsing.texi (Accessing Node Information): Update
manual.
* src/treesit.c (Ftreesit_node_check): Add new property 'outdated'.
* test/src/treesit-tests.el (treesit-node-check): Add tests.
doc/lispref/parsing.texi
src/treesit.c
test/src/treesit-tests.el