Skip to content

Update if_pyth.{txt,jax} #1794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/if_pyth.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*if_pyth.txt* For Vim バージョン 9.1. Last change: 2024 Nov 06
*if_pyth.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09


VIMリファレンスマニュアル by Paul Moore
Expand Down Expand Up @@ -196,7 +196,7 @@ vim.eval(str) *python-eval*
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~
'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] ~

NOTE: vim9script では、def 関数内のローカル変数は Python の評価では見
NOTE: Vim9 script では、def 関数内のローカル変数は Python の評価では見
えません。ローカル変数を Python の評価に渡すには、|py3eval()| 等を呼び
出すときに {locals} 辞書を使用します。

Expand Down
6 changes: 3 additions & 3 deletions en/if_pyth.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*if_pyth.txt* For Vim version 9.1. Last change: 2024 Nov 06
*if_pyth.txt* For Vim version 9.1. Last change: 2024 Nov 09


VIM REFERENCE MANUAL by Paul Moore
Expand Down Expand Up @@ -201,8 +201,8 @@ vim.eval(str) *python-eval*
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~
'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] ~

NOTE: In vim9script, local variables in def functions are not visible
to to python evaluations. To pass local variables to python evaluations,
NOTE: In Vim9 script, local variables in def functions are not visible
to python evaluations. To pass local variables to python evaluations,
use the {locals} dict when calling |py3eval()| and friends.

vim.bindeval(str) *python-bindeval*
Expand Down