]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Correct allowed flags after :substitute repeat
authorChristian Brabandt <cb@256bit.org>
Wed, 28 May 2025 18:23:29 +0000 (20:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 28 May 2025 18:23:29 +0000 (20:23 +0200)
closes: #17391

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/change.txt

index 24137c74dba0d8e621c6d5c8f4c0579053c42d52..6bf9e2c6931907d7ec790b83c427f694215f8a19 100644 (file)
@@ -1,4 +1,4 @@
-*change.txt*    For Vim version 9.1.  Last change: 2025 Apr 03
+*change.txt*    For Vim version 9.1.  Last change: 2025 May 28
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -664,8 +664,9 @@ For other systems the tmpnam() library function is used.
                        Repeat last :substitute with same search pattern and
                        substitute string, but without the same flags.  You
                        may add [flags], see |:s_flags|.
-                       Note that after `:substitute` the '&' flag can't be
-                       used, it's recognized as a pattern separator.
+                       Note that after `:substitute` the '&' and '#' flags
+                       can't be used, they're recognized as a pattern
+                       separator.
                        The space between `:substitute` and the 'c', 'g',
                        'i', 'I' and 'r' flags isn't required, but in scripts
                        it's a good idea to keep it to avoid confusion.