vim-patch:e44e644: 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: vim/vim#15527

e44e64492c
This commit is contained in:
zeertzjq 2024-08-21 07:02:56 +08:00
parent 9639552572
commit 9f49529627

View File

@ -348,8 +348,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*