diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-07 07:15:59 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-08-07 07:16:26 +0800 |
commit | 450d49660f52d915f78da3b0aeb21d9d658f98bd (patch) | |
tree | cd7383473d942b1860a6416179c331db1f74a564 /runtime/lua/vim/_system.lua | |
parent | 221c489edd40e3c9042503e501596ac9fa8e38dc (diff) | |
download | rneovim-450d49660f52d915f78da3b0aeb21d9d658f98bd.tar.gz rneovim-450d49660f52d915f78da3b0aeb21d9d658f98bd.tar.bz2 rneovim-450d49660f52d915f78da3b0aeb21d9d658f98bd.zip |
vim-patch:afea6b9: runtime(zip): use defer to restore old settings
Problem: RestoreOpts() plugin called too often
Solution: use :defer to have the RestoreOpts() function
called when the function returns automatically
https://github.com/vim/vim/commit/afea6b946827e964271eb19579946a7f88d2f329
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions