aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2023-08-24 17:32:43 +0900
committerChristian Clason <c.clason@uni-graz.at>2023-08-29 10:02:02 +0200
commitffb340bf63af42ac347e23e0488898adc4391328 (patch)
tree096e19c3b206be0e768395fd43d434f0ea42c3d4 /runtime/lua/vim/_editor.lua
parent009c84322db3585c2bfb45a5994e2af14efb3013 (diff)
downloadrneovim-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/_editor.lua')
0 files changed, 0 insertions, 0 deletions