File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- *userfunc.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
1
+ *userfunc.txt* For Vim バージョン 9.1. Last change: 2025 Sep 12
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -367,8 +367,8 @@ script の場合は、関数がエクスポートされていないことが原
367
367
==============================================================================
368
368
369
369
3. 関数内でのクリーンアップ ~
370
- *:defer*
371
- :defer {func} ({args} ) 現在の関数終了時に {func} を呼び出す。
370
+ *:defe* *: defer*
371
+ :defe[r] {func} ({args} ) 現在の関数終了時に {func} を呼び出す。
372
372
引数 {args} はここ{訳注:記述箇所}で評価される。
373
373
374
374
多くの場合関数内のコマンドにはグローバルな効果があり、関数終了時に元に戻す必要
Original file line number Diff line number Diff line change 1
- *userfunc.txt* For Vim version 9.1. Last change: 2025 Aug 06
1
+ *userfunc.txt* For Vim version 9.1. Last change: 2025 Sep 12
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -393,8 +393,8 @@ is used as a method: >
393
393
==============================================================================
394
394
395
395
3. Cleaning up in a function ~
396
- *:defer*
397
- :defer {func} ({args} ) Call {func} when the current function is done.
396
+ *:defe* *: defer*
397
+ :defe[r] {func} ({args} ) Call {func} when the current function is done.
398
398
{args} are evaluated here.
399
399
400
400
Quite often a command in a function has a global effect, which must be undone
You can’t perform that action at this time.
0 commit comments