]> git.eshelyaron.com Git - emacs.git/commit
Revert "Read more on each call to treesit's buffer reader"
authorYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 05:53:06 +0000 (22:53 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:32:18 +0000 (22:32 +0200)
commit370be12c2f0d7d23fb49574bc1a0b713088e1f75
tree18332f82cabe5f831245a068f4e7f9f34a47b78a
parente0dd8648b51a0cb601dba0a7c8931dd5f0269d6a
Revert "Read more on each call to treesit's buffer reader"

This reverts commit bf23382f1f2d6ea072db4e4750f8a345f77a3ef2.

We move around the gap, narrow regions, ralloc, etc, and don't have a
way to invalidate previously given range.  So tree-sitter can't be given
the full range.

(cherry picked from commit 76faf7e60910ffc29b134fa4d16e3d8c176097a7)
src/treesit.c