Skip to content

Update builtin.{txt,jax} #2070

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
May 13, 2025
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
11 changes: 6 additions & 5 deletions doc/builtin.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Apr 27
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 May 09


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -208,9 +208,9 @@ filter({expr1}, {expr2}) リスト/辞書/Blob/文字列
{expr2} が0となる要素を {expr1} からと
り除く
finddir({name} [, {path} [, {count}]])
文字列 {path}からディレクトリ{name}を探す
findfile({name} [, {path} [, {count}]])
文字列 {path}からファイル{name}を探す
文字列/リスト {path} からディレクトリ/ファイル
{name} を探す
Comment on lines +212 to +213
Copy link
Contributor

Choose a reason for hiding this comment

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

Note:

英語だと

dir/file {name}

とパラメタ名込みで文章になっている気がします。

ので、日本語では

Suggested change
文字列/リスト {path} からディレクトリ/ファイル
{name} を探す
文字列/リスト {path} から {name} というディレクトリ/ファイル
を探す

のようにしてもいいかもです。
(これを使うなら、改行は直してください)

ただ、このままでも問題はないかとは思います。

Copy link
Member Author

Choose a reason for hiding this comment

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

見渡すとほぼ「日本語 {~}」のパターンなので、このままでいきますね。

flatten({list} [, {maxdepth}]) リスト リスト {list} を {maxdepth} の深さまで
平坦化する
flattennew({list} [, {maxdepth}])
Expand Down Expand Up @@ -3174,7 +3174,7 @@ feedkeys({string} [, {mode}]) *feedkeys()*
|method| としても使用できる: >
GetInput()->feedkeys()
<
戻り値の型: |String| または list<string>。{list} による
戻り値の型: |Number|


filecopy({from}, {to}) *filecopy()*
Expand Down Expand Up @@ -4931,7 +4931,7 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|method| としても使用できる: >
GetRegname()->getreg()
<
戻り値の型: |String|
戻り値の型: |String| または list<string>。{list} による


getreginfo([{regname}]) *getreginfo()*
Expand Down Expand Up @@ -9642,6 +9642,7 @@ setcursorcharpos({list})
|method| としても使用できる: >
GetCursorPos()->setcursorcharpos()
<
位置を設定できた場合は 0 を返し、それ以外の場合は -1 を返す。
戻り値の型: |Number|


Expand Down
10 changes: 5 additions & 5 deletions en/builtin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Apr 27
*builtin.txt* For Vim version 9.1. Last change: 2025 May 09


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -194,9 +194,8 @@ filter({expr1}, {expr2}) List/Dict/Blob/String
remove items from {expr1} where
{expr2} is 0
finddir({name} [, {path} [, {count}]])
String find directory {name} in {path}
findfile({name} [, {path} [, {count}]])
String find file {name} in {path}
String/List find dir/file {name} in {path}
flatten({list} [, {maxdepth}]) List flatten {list} up to {maxdepth} levels
flattennew({list} [, {maxdepth}])
List flatten a copy of {list}
Expand Down Expand Up @@ -3167,7 +3166,7 @@ feedkeys({string} [, {mode}]) *feedkeys()*
Can also be used as a |method|: >
GetInput()->feedkeys()
<
Return type: |String| or list<string> depending on {list}
Return type: |Number|


filecopy({from}, {to}) *filecopy()*
Expand Down Expand Up @@ -4962,7 +4961,7 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()*
Can also be used as a |method|: >
GetRegname()->getreg()
<
Return type: |String|
Return type: |String| or list<string> depending on {list}


getreginfo([{regname}]) *getreginfo()*
Expand Down Expand Up @@ -9828,6 +9827,7 @@ setcursorcharpos({list})
Can also be used as a |method|: >
GetCursorPos()->setcursorcharpos()
<
Returns 0 when the position could be set, -1 otherwise.
Return type: |Number|


Expand Down