Skip to content

Update if_pyth.{txt,jax} #1787

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 3 commits into from
Nov 9, 2024
Merged

Update if_pyth.{txt,jax} #1787

merged 3 commits into from
Nov 9, 2024

Conversation

h-east
Copy link
Member

@h-east h-east commented Nov 7, 2024

No description provided.

doc/if_pyth.jax Outdated
@@ -730,6 +734,10 @@ vim.Function オブジェクト *python-Function*
使って Python の式を評価して、その値を Vim script に渡すことができます。
|pyxeval()| も使用可能です。

オプションの {locals} 辞書を使用して、評価にローカル変数を挿入できます。これ
は、vim.eval |python-eval| が def 関数内でローカル変数を見つけられない
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自分の英語力不足でどっちか判断つかなかったのでコメントだけ。
"vim.eval |python-eval| will not find locals in a def func." の "in def func" の "in" がこの文節にかかってるならこのままで良いのですが、直前の "locals" にかかってるなら「def 関数内のローカル変数を〜」という感じの訳の方が良さげだなあと。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

後者がしっくりきそうなのでそちらの訳にします 👍

@h-east h-east requested a review from mityu November 8, 2024 16:03
@h-east h-east merged commit 3b85c4a into vim-jp:master Nov 9, 2024
2 checks passed
@h-east h-east deleted the update-if_pyth branch November 9, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants