aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2023-08-20 14:17:45 +0900
committerLewis Russell <me@lewisr.dev>2023-09-13 08:51:54 +0100
commit4607807f9fcb83d4e183f6f67e705ffd7f451077 (patch)
tree746fe41b720f6d1fa7b770b0347121324314986f /scripts/gen_vimdoc.py
parent1f551e068f728ff38bd7fdcfa3a6daf362bab9da (diff)
downloadrneovim-4607807f9fcb83d4e183f6f67e705ffd7f451077.tar.gz
rneovim-4607807f9fcb83d4e183f6f67e705ffd7f451077.tar.bz2
rneovim-4607807f9fcb83d4e183f6f67e705ffd7f451077.zip
fix(treesitter): don't update fold if tree is unchanged
Problem: Folds are opened when the visible range changes even if there are no modifications to the buffer, e.g, when using zM for the first time. If the parsed tree was invalid, on_win re-parses and gets empty tree changes, which triggers fold updates. Solution: Don't update folds in on_changedtree if there are no changes.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions