commit 023f157a609a1eb0ccd59442249d86a8bfa6a95c
parent 3564e624261b6a5f12efac34876307095a177573
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 27 Jun 2025 07:08:19 +0800
vim-patch:26ebe21: runtime(doc): mismatch between the :uniq document's description and examples
closes: vim/vim#17612
https://github.com/vim/vim/commit/26ebe21caa93ae4c3d7ceb8e83e799b0dabc6271
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
@@ -1970,7 +1970,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}/