commit 9f495296279b3d55ec9e92e9d78ed33347cc1bd6
parent 9639552572d21472faa2c9db8e933dbffba547c5
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 21 Aug 2024 07:02:56 +0800
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
https://github.com/vim/vim/commit/e44e64492cf0a99191826b05ea5ee80b3a5fb3f5
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
@@ -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*