runtime(doc): fix grammar in :h :keeppatterns
Commit:
https://github.com/vim/vim/commit/e44e64492cf0a99191826b05ea5ee80b3a5fb3f5
Author: zeertzjq <[email protected]>
Date: Tue Aug 20 20:20:43 2024 +0200
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 <[email protected]>
Signed-off-by: zeertzjq <[email protected]>
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 9ba3802d3..d1ef7ba42 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -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
@@ -379,8 +379,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*
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sgTcK-00EQU3-7w%40256bit.org.