Hi Bram and developers,
Attach a patch to fix the typo of the document.
Please confirm it.
--
Best regards,
Hirohito Higashi (h_east)
--
--
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/71483e1e-53ad-4bec-9c6d-ac59f2cf6b98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index c922df18a..4d027b186 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -881,9 +881,8 @@ OptionSet After setting an option. The pattern is
set/let command was used (follow the tag to
see the table).
|v:option_new| indicates the newly set value.
- |v:option_oldlocal| hass the old local value.
- |v:option_oldglobal| hass the old global
- value
+ |v:option_oldlocal| has the old local value.
+ |v:option_oldglobal| has the old global value
|v:option_old| indicates the old option value.
|v:option_oldlocal| is only set when |:set|
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 80fbfba1d..e0c7019da 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -8901,7 +8901,7 @@ sound_playevent({name} [, {callback}])
argument is the status:
0 sound was played to the end
1 sound was interrupted
- 2 error occured after sound started
+ 2 error occurred after sound started
Example: >
func Callback(id, status)
echomsg "sound " .. a:id .. " finished with " .. a:status
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 18f6a6774..fe63399fe 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6804,7 +6804,7 @@ A jump table for the options with a short description can be found at |Q_op|.
"no" never
"yes" always
"number" display signs in the 'number' column. If the number
- column is not present, then behaves like 'auto'.
+ column is not present, then behaves like "auto".
*'smartcase'* *'scs'* *'nosmartcase'* *'noscs'*
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index 6ea247711..efd9fd27d 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -421,7 +421,7 @@ need them.
POPUP_CREATE() ARGUMENTS *popup_create-usage*
The first argument of |popup_create()| (and the second argument to
-|popup_setttext()|) specifies the text to be displayed, and optionally text
+|popup_settext()|) specifies the text to be displayed, and optionally text
properties. It is in one of three forms:
- a string
- a list of strings
@@ -478,7 +478,7 @@ The second argument of |popup_create()| is a dictionary with options:
hidden When TRUE the popup exists but is not displayed; use
`popup_show()` to unhide it.
{not implemented yet}
- tabpage When -1: display the popup on all tabs.
+ tabpage When -1: display the popup on all tab pages.
When 0 (the default): display the popup on the current
tab page.
Otherwise the number of the tab page the popup is
@@ -523,7 +523,7 @@ The second argument of |popup_create()| is a dictionary with options:
When the list has two characters the first is used for
the border lines, the second for the corners.
By default a double line is used all around when
- 'encoding' is "utf-8" and 'ambiwidth' is "single,
+ 'encoding' is "utf-8" and 'ambiwidth' is "single",
otherwise ASCII characters are used.
zindex Priority for the popup, default 50. Minimum value is
1, maximum value is 32000.
@@ -653,7 +653,7 @@ Prompt the user to press y/Y or n/N: >
*popup_menu-shortcut-example*
Extend popup_filter_menu() with shortcut keys: >
- call popup_menu('Save', 'Cancel', 'Discard'], {
+ call popup_menu(['Save', 'Cancel', 'Discard'], {
\ 'filter': 'MyMenuFilter',
\ 'callback': 'MyMenuHandler',
\ })