diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-27 18:58:24 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-12-27 19:01:09 +0800 |
commit | 45d9735aae9aea91420c849aace76ab72e9d3f2a (patch) | |
tree | 70b67a21476b363c16428cbdc0ea9a71e5357f98 /runtime/lua/vim/_editor.lua | |
parent | 9bab4b72ae4c996751a83badc1c2a183c7cbf5d2 (diff) | |
download | rneovim-45d9735aae9aea91420c849aace76ab72e9d3f2a.tar.gz rneovim-45d9735aae9aea91420c849aace76ab72e9d3f2a.tar.bz2 rneovim-45d9735aae9aea91420c849aace76ab72e9d3f2a.zip |
vim-patch:9.0.1100: a hashtab with many removed items is not cleaned up
Problem: A hashtab with many removed items is not cleaned up.
Solution: Re-hash a hashtab even when the size didn't change if too many
items were removed.
https://github.com/vim/vim/commit/d0883faac6a74f777c9a6be9d035c59ee1c969c5
N/A patches for version.c:
vim-patch:9.0.1099: trying to resize a hashtab may cause a problem
Problem: Trying to resize a hashtab may cause a problem.
Solution: Do not try to resize a hashtab before adding an item.
https://github.com/vim/vim/commit/81b7ecc5cb78cad901a9a85e46ecba109cc6ee7d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions