Skip to content

Commit

Permalink
Merge pull request #1342 from vim-jp/hh-update-userfunc
Browse files Browse the repository at this point in the history
Update userfunc.{txt,jax}
  • Loading branch information
h-east authored Oct 25, 2023
2 parents fe043de + 1d7d279 commit 674dced
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/userfunc.jax
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ Note `system()` を呼ぶ前で "Outfile" 削除がスケジュールされて
のも関数に後置できない。現在 `:defer GetArg()->TheFunc()` は動作せず、これが動
作するかもしれないのは今後のバージョンになる。

エラーは報告されるが遅延関数の実行の中断理由にはならない。
エラーは報告されるが、遅延関数の実行を中止したり、遅延関数以外の実行を変更した
りすることはない。

範囲は使えない。関数として追加の引数付きの部分適用は使えるが、辞書は使えない。
*E1300*
Expand Down
3 changes: 2 additions & 1 deletion en/userfunc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ Any return value of the deferred function is discarded. The function cannot
be followed by anything, such as "->func" or ".member". Currently `:defer
GetArg()->TheFunc()` does not work, it may work in a later version.

Errors are reported but do not cause aborting execution of deferred functions.
Errors are reported but do not cause aborting execution of deferred functions
or altering execution outside of deferred functions.

No range is accepted. The function can be a partial with extra arguments, but
not with a dictionary. *E1300*
Expand Down

0 comments on commit 674dced

Please sign in to comment.