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>
This commit is contained in:
zeertzjq
2024-08-20 20:20:43 +02:00
committed by Christian Brabandt
parent d55e698fa0
commit e44e64492c

View 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 VIM REFERENCE MANUAL by Bram Moolenaar
@ -379,8 +379,8 @@ terminals)
:keepp[atterns] {command} *:keepp* *:keeppatterns* :keepp[atterns] {command} *:keepp* *:keeppatterns*
Execute {command}, without adding anything to the search Execute {command}, without adding anything to the search
history and, in case of the the |:s| and |:&| command, without history and, in case of |:s| or |:&|, without modifying the
modifying the last substitute pattern and substitute string. last substitute pattern or substitute string.
============================================================================== ==============================================================================
2. Command-line completion *cmdline-completion* 2. Command-line completion *cmdline-completion*