Mercurial > vim
diff README.md @ 35920:9a9a2203515c
runtime(zip): use defer to restore old settings
Commit: https://github.com/vim/vim/commit/afea6b946827e964271eb19579946a7f88d2f329
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Aug 6 18:50:59 2024 +0200
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
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Aug 2024 20:30:10 +0200 |
parents | d1b878fce76f |
children |