runtime(doc): mismatch between the :uniq document's description and examples
Commit:
https://github.com/vim/vim/commit/26ebe21caa93ae4c3d7ceb8e83e799b0dabc6271
Author: Hirohito Higashi <
h.eas...@gmail.com>
Date: Thu Jun 26 20:31:24 2025 +0200
runtime(doc): mismatch between the :uniq document's description and examples
closes:
https://github.com/vim/vim/issues/17612
Signed-off-by: Hirohito Higashi <
h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 4bd877f9f..e958e038b 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 9.1. Last change: 2025 Jun 25
+*change.txt* For Vim version 9.1. Last change: 2025 Jun 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2032,7 +2032,7 @@ Also see |:sort-uniq|.
For example, to remove adjacent duplicate lines based
on the second comma-separated field: >
- :uniq r /[^,]*,/
+ :uniq /[^,]*,/
< Or to keep only unique lines ignoring the first 5
characters: >
:uniq u /.\{5}/