Skip to content

Commit c51af00

Browse files
authored
Merge pull request #1794 from h-east/update-if_pyth
Update if_pyth.{txt,jax}
2 parents 891cb3d + 21a391d commit c51af00

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/if_pyth.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim バージョン 9.1. Last change: 2024 Nov 06
1+
*if_pyth.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
22

33

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

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

en/if_pyth.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 9.1. Last change: 2024 Nov 06
1+
*if_pyth.txt* For Vim version 9.1. Last change: 2024 Nov 09
22

33

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

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

208208
vim.bindeval(str) *python-bindeval*

0 commit comments

Comments
 (0)