From 4d4192c6be253b84cf11372924c733f33daf12b8 Mon Sep 17 00:00:00 2001 From: h-east Date: Wed, 25 Jun 2025 21:45:29 +0900 Subject: [PATCH] Update builtin.{txt,jax} --- doc/builtin.jax | 3 ++- en/builtin.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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|.