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)
committerYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 07:28:23 +0000 (00:28 -0700)
commit76faf7e60910ffc29b134fa4d16e3d8c176097a7
treeca577879e5baa1484193b040cfd8ddc6e73d5f00
parentc70bd0e3fe9c2f5b1fcdce7939c07449f8a5ec4c
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.
src/treesit.c