Hi Bram and list,
I attach a document patch.
- Remove unnecessary whitespace at the end of the line.
- Fixed mixing of tabs and spaces.
- Fixed the description different from the actual environment.
(terminal.txt)
- Other miscellaneous corrections...
Please check this.
--
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/f1524998-0278-4563-9544-70f8ee4d9510%40googlegroups.com.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 2a040130f..6eb1ed65e 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -488,7 +488,7 @@ as a key.
To avoid having to put quotes around every key the #{} form can be used. This
does require the key to consist only of ASCII letters, digits, '-' and '_'.
Example: >
- let mydict = #{zero: 0, one_key: 1, two-key: 2, 333: 3}
+ :let mydict = #{zero: 0, one_key: 1, two-key: 2, 333: 3}
Note that 333 here is the string "333". Empty keys are not possible with #{}.
A value can be any expression. Using a Dictionary for a value creates a
@@ -2667,7 +2667,7 @@ remote_read({serverid} [, {timeout}])
remote_send({server}, {string} [, {idvar}])
String send key sequence
remote_startserver({name}) none become server {name}
-remove({list}, {idx} [, {end}]) any/List
+remove({list}, {idx} [, {end}]) any/List
remove items {idx}-{end} from {list}
remove({blob}, {idx} [, {end}]) Number/Blob
remove bytes {idx}-{end} from {blob}
@@ -5634,7 +5634,7 @@ getwininfo([{winid}]) *getwininfo()*
terminal 1 if a terminal window
{only with the +terminal feature}
tabnr tab page number
- topline first displayed buffer line
+ topline first displayed buffer line
variables a reference to the dictionary with
window-local variables
width window width
@@ -5652,7 +5652,7 @@ getwininfo([{winid}]) *getwininfo()*
getwinpos([{timeout}]) *getwinpos()*
The result is a list with two numbers, the result of
- getwinposx() and getwinposy() combined:
+ |getwinposx()| and |getwinposy()| combined:
[x-pos, y-pos]
{timeout} can be used to specify how long to wait in msec for
a response from the terminal. When omitted 100 msec is used.
@@ -7103,9 +7103,9 @@ mkdir({name} [, {path} [, {prot}]])
There is no error if the directory already exists and the "p"
flag is passed (since patch 8.0.1708). However, without the
- "p" option the call will fail.
+ "p" option the call will fail.
- The function result is a Number, which is 1 if the call was
+ The function result is a Number, which is 1 if the call was
successful or 0 if the directory creation failed or partly
failed.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index b3d757992..35e93c442 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1920,7 +1920,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only works when compiled with the |+textprop| feature}
popuphidden
- Just like "popup" but initially hide the popup. Use a
+ Just like "popup" but initially hide the popup. Use a
|CompleteChanged| autocommand to fetch the info and call
|popup_show()| once the popup has been filled.
See the example at |complete-popuphidden|.
@@ -6574,12 +6574,11 @@ A jump table for the options with a short description can be found at |Q_op|.
of this option).
The default is ">". For Unix, if the 'shell' option is "csh" or
"tcsh" during initializations, the default becomes ">&". If the
- 'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh",
- "zsh-beta","bash" or "fish", the default becomes ">%s 2>&1". This
- means that stderr is also included. For Win32, the Unix checks are
- done and additionally "cmd" is checked for, which makes the default
- ">%s 2>&1". Also, the same names with ".exe" appended are checked
- for.
+ 'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh", "zsh-beta",
+ "bash" or "fish", the default becomes ">%s 2>&1". This means that
+ stderr is also included. For Win32, the Unix checks are done and
+ additionally "cmd" is checked for, which makes the default ">%s 2>&1".
+ Also, the same names with ".exe" appended are checked for.
The initialization of this option is done after reading the ".vimrc"
and the other initializations, so that when the 'shell' option is set
there, the 'shellredir' option changes automatically unless it was
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 093519e28..972b43c19 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -373,7 +373,7 @@ sign_define({list})
The one argument {list} can be used to define a list of signs.
Each list item is a dictionary with the above items in {dict}
- and a 'name' item for the sign name.
+ and a "name" item for the sign name.
Returns 0 on success and -1 on failure. When the one argument
{list} is used, then returns a List of values one for each
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index d83035cc7..4dcf2be1b 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1046,12 +1046,12 @@ file for now, e.g.: >
The test will then fail, giving you the command to compare the reference dump
and the failed dump, e.g.: >
- call term_dumpdiff("Test_func.dump.failed", "dumps/Test_func.dump")
+ call term_dumpdiff("failed/Test_func.dump", "dumps/Test_func.dump")
Use this command in Vim, with the current directory set to src/testdir.
Once you are satisfied with the test, move the failed dump in place of the
reference: >
- :!mv Test_func.dump.failed dumps/Test_func.dump
+ :!mv failed/Test_func.dump dumps/Test_func.dump
Creating a screen dump ~