]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix grammar in :h :keeppatterns
authorzeertzjq <zeertzjq@outlook.com>
Tue, 20 Aug 2024 18:20:43 +0000 (20:20 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 20 Aug 2024 18:20:43 +0000 (20:20 +0200)
- It's clear that :s and :& are Ex commands, so remove "command" along
  with the duplicate "the".
- Use "or" instead of "and" following "without".

closes: #15527

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
runtime/doc/cmdline.txt

index 9ba3802d31313f0659c77e2aa40a8a64889386b5..d1ef7ba42b5f06bae586deecd9c1533fa023716c 100644 (file)
@@ -1,4 +1,4 @@
-*cmdline.txt*   For Vim version 9.1.  Last change: 2024 Aug 19
+*cmdline.txt*   For Vim version 9.1.  Last change: 2024 Aug 20
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -379,8 +379,8 @@ terminals)
 
 :keepp[atterns] {command}                      *:keepp* *:keeppatterns*
                Execute {command}, without adding anything to the search
-               history and, in case of the the |:s| and |:&| command, without
-               modifying the last substitute pattern and substitute string.
+               history and, in case of |:s| or |:&|, without modifying the
+               last substitute pattern or substitute string.
 
 ==============================================================================
 2. Command-line completion                             *cmdline-completion*