Skip to content

Commit 10607ae

Browse files
authored
Merge pull request #2304 from h-east/update-userfunc
Update userfunc.{txt,jax}
2 parents fe098b9 + 0eda57c commit 10607ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/userfunc.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*userfunc.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
1+
*userfunc.txt* For Vim バージョン 9.1. Last change: 2025 Sep 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -367,8 +367,8 @@ script の場合は、関数がエクスポートされていないことが原
367367
==============================================================================
368368

369369
3. 関数内でのクリーンアップ ~
370-
*:defer*
371-
:defer {func}({args}) 現在の関数終了時に {func} を呼び出す。
370+
*:defe* *:defer*
371+
:defe[r] {func}({args}) 現在の関数終了時に {func} を呼び出す。
372372
引数 {args} はここ{訳注:記述箇所}で評価される。
373373

374374
多くの場合関数内のコマンドにはグローバルな効果があり、関数終了時に元に戻す必要

en/userfunc.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -393,8 +393,8 @@ is used as a method: >
393393
==============================================================================
394394

395395
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.
398398
{args} are evaluated here.
399399

400400
Quite often a command in a function has a global effect, which must be undone

0 commit comments

Comments
 (0)