runtime(doc): update description of :uniq command

Commit: 
https://github.com/vim/vim/commit/1c471ac548cc883fdd5446c62a4b90cdcb6769ee
Author: zeertzjq <zeert...@outlook.com>
Date:   Wed Jun 25 21:07:25 2025 +0200

    runtime(doc): update description of :uniq command
    
    The examples mention the [u] flag, so at least the [u] flag should be
    introduced before the examples.
    
    Slightly reword the sentence about trailing/leading white space.
    
    closes: #17604
    
    Co-authored-by: Hirohito Higashi <h.east....@gmail.com>
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Hirohito Higashi <h.east....@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 65e4e72cb..4bd877f9f 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 23
+*change.txt*    For Vim version 9.1.  Last change: 2025 Jun 25
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2014,12 +2014,20 @@ Also see |:sort-uniq|.
                        With [r] comparison is done on the text that matches
                        /{pattern}/ instead of the full line.
 
+                       With [u] only keep lines that do not repeat (i.e., are
+                       not immediately followed by the same line).
+
+                       With [!] only keep lines that are immediately followed
+                       by a duplicate.
+
+                       If both [!] and [u] are given, [u] is ignored and [!]
+                       takes effect.
+
                        When /{pattern}/ is specified and [r] is not used, the
                        text matched with {pattern} is skipped and comparison
                        is done on what comes after the match.
                        'ignorecase' applies to the pattern, but 'smartcase'
                        is not used.
-
                        Instead of the slash any non-letter can be used.
 
                        For example, to remove adjacent duplicate lines based
@@ -2031,17 +2039,8 @@ Also see |:sort-uniq|.
 <                      If {pattern} is empty (e.g. // is used), the last
                        search pattern is used.
 
-                       With [u] only keep lines that do not repeat (i.e., are
-                       not immediately followed by the same line).
-
-                       With [!] only keep lines that are immediately followed
-                       by a duplicate.
-
-                       If both [!] and [u] are given, [u] is ignored and [!]
-                       takes effect.
-
-                       Note that leading and trailing white space, and lines
-                       that are not adjacent, are not considered duplicates.
+                       Note that leading and trailing white space may cause
+                       lines to be considered different.
                        To remove all duplicates regardless of position, use
                        |:sort-u| or external tools.
 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uUVaI-002zyE-Uk%40256bit.org.

Raspunde prin e-mail lui