vim-patch:e8bbdb9: runtime(doc): Add :defe[r] shortname spec and tag (#35741)

closes: vim/vim#18281

e8bbdb90e4

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-09-13 09:39:53 +08:00
committed by GitHub
parent c7a9404019
commit 99d16af86a

View File

@@ -360,8 +360,8 @@ is used as a method: >
============================================================================== ==============================================================================
3. Cleaning up in a function ~ 3. Cleaning up in a function ~
*:defer* *:defe* *:defer*
:defer {func}({args}) Call {func} when the current function is done. :defe[r] {func}({args}) Call {func} when the current function is done.
{args} are evaluated here. {args} are evaluated here.
Quite often a command in a function has a global effect, which must be undone Quite often a command in a function has a global effect, which must be undone