aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-21 07:02:56 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-08-21 07:03:55 +0800
commit9f495296279b3d55ec9e92e9d78ed33347cc1bd6 (patch)
treed19b4f4f1bc3cfcf132aae41426c57f8e2b04075
parent9639552572d21472faa2c9db8e933dbffba547c5 (diff)
downloadrneovim-9f495296279b3d55ec9e92e9d78ed33347cc1bd6.tar.gz
rneovim-9f495296279b3d55ec9e92e9d78ed33347cc1bd6.tar.bz2
rneovim-9f495296279b3d55ec9e92e9d78ed33347cc1bd6.zip
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
-rw-r--r--runtime/doc/cmdline.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 60bf9e7679..28d53feb4c 100644
--- 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*