changeset 36003:0071ce92bf67

runtime(doc): fix grammar in :h :keeppatterns Commit: https://github.com/vim/vim/commit/e44e64492cf0a99191826b05ea5ee80b3a5fb3f5 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Aug 20 20:20:43 2024 +0200 runtime(doc): fix grammar in :h :keeppatterns - 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>
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Aug 2024 20:30:04 +0200
parents b0022c9aff0d
children 1aa3500798a3
files runtime/doc/cmdline.txt
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -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*