Skip to content

Commit e44e644

Browse files
zeertzjqchrisbra
authored andcommitted
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>
1 parent d55e698 commit e44e644

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

runtime/doc/cmdline.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 9.1. Last change: 2024 Aug 19
1+
*cmdline.txt* For Vim version 9.1. Last change: 2024 Aug 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -379,8 +379,8 @@ terminals)
379379
380380
:keepp[atterns] {command} *:keepp* *:keeppatterns*
381381
Execute {command}, without adding anything to the search
382-
history and, in case of the the |:s| and |:&| command, without
383-
modifying the last substitute pattern and substitute string.
382+
history and, in case of |:s| or |:&|, without modifying the
383+
last substitute pattern or substitute string.
384384

385385
==============================================================================
386386
2. Command-line completion *cmdline-completion*

0 commit comments

Comments
 (0)