diff --git a/doc/builtin.jax b/doc/builtin.jax index b01189a0e..597708d8f 100644 --- a/doc/builtin.jax +++ b/doc/builtin.jax @@ -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 @@ -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} を探す flatten({list} [, {maxdepth}]) リスト リスト {list} を {maxdepth} の深さまで 平坦化する flattennew({list} [, {maxdepth}]) @@ -3174,7 +3174,7 @@ feedkeys({string} [, {mode}]) *feedkeys()* |method| としても使用できる: > GetInput()->feedkeys() < - 戻り値の型: |String| または list。{list} による + 戻り値の型: |Number| filecopy({from}, {to}) *filecopy()* @@ -4931,7 +4931,7 @@ getreg([{regname} [, 1 [, {list}]]]) *getreg()* |method| としても使用できる: > GetRegname()->getreg() < - 戻り値の型: |String| + 戻り値の型: |String| または list。{list} による getreginfo([{regname}]) *getreginfo()* @@ -9642,6 +9642,7 @@ setcursorcharpos({list}) |method| としても使用できる: > GetCursorPos()->setcursorcharpos() < + 位置を設定できた場合は 0 を返し、それ以外の場合は -1 を返す。 戻り値の型: |Number| diff --git a/en/builtin.txt b/en/builtin.txt index 55a0731a8..b9d0719a1 100644 --- a/en/builtin.txt +++ b/en/builtin.txt @@ -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 @@ -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} @@ -3167,7 +3166,7 @@ feedkeys({string} [, {mode}]) *feedkeys()* Can also be used as a |method|: > GetInput()->feedkeys() < - Return type: |String| or list depending on {list} + Return type: |Number| filecopy({from}, {to}) *filecopy()* @@ -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 depending on {list} getreginfo([{regname}]) *getreginfo()* @@ -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|