Commit: runtime(doc): fix grammar in :h :keeppatterns

3 views
Skip to first unread message

Christian Brabandt

unread,
Aug 20, 2024, 2:30:11 PM8/20/24
to vim...@googlegroups.com
runtime(doc): fix grammar in :h :keeppatterns

Commit: https://github.com/vim/vim/commit/e44e64492cf0a99191826b05ea5ee80b3a5fb3f5
Author: zeertzjq <zeer...@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 <c...@256bit.org>
Signed-off-by: zeertzjq <zeer...@outlook.com>

diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 9ba3802d3..d1ef7ba42 100644
--- 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*
Reply all
Reply to author
Forward
0 new messages