diff options
author | Jaehwang Jung <tomtomjhj@gmail.com> | 2023-08-24 17:32:43 +0900 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-29 10:02:02 +0200 |
commit | ffb340bf63af42ac347e23e0488898adc4391328 (patch) | |
tree | 096e19c3b206be0e768395fd43d434f0ea42c3d4 /runtime/lua/vim/ui.lua | |
parent | 009c84322db3585c2bfb45a5994e2af14efb3013 (diff) | |
download | rneovim-ffb340bf63af42ac347e23e0488898adc4391328.tar.gz rneovim-ffb340bf63af42ac347e23e0488898adc4391328.tar.bz2 rneovim-ffb340bf63af42ac347e23e0488898adc4391328.zip |
fix(treesitter): update folds only once on InsertLeave
Problem:
With treesitter fold, InsertLeave can be slow, because a single session
of insert mode may schedule multiple fold updates in on_bytes and
on_changedtree.
Solution:
Don't create duplicate autocmds.
Diffstat (limited to 'runtime/lua/vim/ui.lua')
0 files changed, 0 insertions, 0 deletions