runtime(doc): fix a typo in :write-plugin
Commit:
https://github.com/vim/vim/commit/18c6b91ca94c94db018324cd0f8e768922d39af8
Author: nyngwang <[email protected]>
Date: Tue Jun 2 17:35:54 2026 +0000
runtime(doc): fix a typo in :write-plugin
closes: https://github.com/vim/vim/issues/20410
Signed-off-by: nyngwang <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/usr_51.txt b/runtime/doc/usr_51.txt
index 1ed1b6b37..82bb0faf2 100644
--- a/runtime/doc/usr_51.txt
+++ b/runtime/doc/usr_51.txt
@@ -1,4 +1,4 @@
-*usr_51.txt* For Vim version 9.2. Last change: 2026 May 28
+*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 02
VIM USER MANUAL by Bram Moolenaar
@@ -220,11 +220,11 @@ case only one item is used. When adding more items,
creating a submenu is
recommended. For example, "Plugin.CVS" could be used for a plugin that offers
CVS operations "Plugin.CVS.checkin", "Plugin.CVS.checkout", etc.
-Note that in line 28 ":noremap" is used to avoid that any other mappings cause
-trouble. Someone may have remapped ":call", for example. In line 24 we also
+Note that in line 26 ":noremap" is used to avoid that any other mappings cause
+trouble. Someone may have remapped ":call", for example. In line 22 we also
use ":noremap", but we do want "<SID>Add" to be remapped. This is why
"<script>" is used here. This only allows mappings which are local to the
-script. |:map-<script>| The same is done in line 26 for ":noremenu".
+script. |:map-<script>| The same is done in line 24 for ":noremenu".
|:menu-<script>|
--
--
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 visit
https://groups.google.com/d/msgid/vim_dev/E1wUTAm-0024Oe-JZ%40256bit.org.