aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2024-04-20 02:33:44 +0900
committerChristian Clason <c.clason@uni-graz.at>2024-04-21 10:42:00 +0200
commit2b6c9bbe7f7ac950683e81129b76e35e35839ede (patch)
tree901e6110c7d7c8e8bc0c4e1cade28c7052bda815 /src/clint.py
parentf42ab1dc4848eceab12c7180c2b9049da29a9ba6 (diff)
downloadrneovim-2b6c9bbe7f7ac950683e81129b76e35e35839ede.tar.gz
rneovim-2b6c9bbe7f7ac950683e81129b76e35e35839ede.tar.bz2
rneovim-2b6c9bbe7f7ac950683e81129b76e35e35839ede.zip
perf(treesitter): incremental foldupdate
Problem: While the fold level computation is incremental, the evaluation of the foldexpr is done on the full buffer. Despite that the foldexpr reads from the cache, it can take tens of milliseconds for moderately big (10K lines) buffers. Solution: Track the range of lines on which the foldexpr should be evaluated.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions