runtime(doc): Correct allowed flags after :substitute repeat
Commit:
https://github.com/vim/vim/commit/0bc8709a634ff2ae4024a59aa3b9873efa9c7453
Author: Christian Brabandt <[email protected]>
Date: Wed May 28 20:23:29 2025 +0200
runtime(doc): Correct allowed flags after :substitute repeat
closes: https://github.com/vim/vim/issues/17391
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 24137c74d..6bf9e2c69 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 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.
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uKLXW-003ayX-Oc%40256bit.org.