diff --git a/doc/builtin.jax b/doc/builtin.jax index ef42b84b3..84007c573 100644 --- a/doc/builtin.jax +++ b/doc/builtin.jax @@ -1,4 +1,4 @@ -*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jun 07 +*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jun 23 VIMリファレンスマニュアル by Bram Moolenaar @@ -11887,6 +11887,7 @@ uniq({list} [, {func} [, {dict}]]) *uniq()* *E882* :let newlist = uniq(copy(mylist)) < デフォルトの比較関数は各要素の文字列表現を使う。{func} と {dict} については |sort()| 参照。 + カレントバッファのテキストの重複を削除するには、|:uniq| を参照。 {list} が |List| でない場合はゼロを返す。 diff --git a/en/builtin.txt b/en/builtin.txt index 8c79f565b..8bd914bfb 100644 --- a/en/builtin.txt +++ b/en/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 07 +*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -12143,6 +12143,7 @@ uniq({list} [, {func} [, {dict}]]) *uniq()* *E882* :let newlist = uniq(copy(mylist)) < The default compare function uses the string representation of each item. For the use of {func} and {dict} see |sort()|. + For deduplicating text in the current buffer see |:uniq|. Returns zero if {list} is not a |List|.