]> git.eshelyaron.com Git - emacs.git/commit
Check for outdated tree-sitter node when printing
authorYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 00:47:14 +0000 (17:47 -0700)
committerYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 00:47:14 +0000 (17:47 -0700)
commit88d54756d46101b97b7fde97b4bc3b62f7bd6c06
treee95a7a2af31576126a35c19662c1d79112c763b4
parent32e87f09c8c2711c421363d0361693dcfbe5a688
Check for outdated tree-sitter node when printing

* src/print.c (print_vectorlike): Check for outdated node.
* src/treesit.c (treesit_check_node): Use the new function.
(treesit_node_uptodate_p): New function.
* src/treesit.h: Declare new function.
src/print.c
src/treesit.c
src/treesit.h