Hi
Attached are various fixes in Vim documentation.
Regards
Dominique
--
--
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/CAON-T_j1cOCu67D%3Dj4Yhj6N%3DVSo2nX67xgh8pe579gAGeP%3Djng%40mail.gmail.com.
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 299bcba63..3e9246110 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2082,7 +2082,7 @@ exists({expr}) The result is a Number, which is |TRUE| if {expr} is defined,
dict.key |internal-variables|). Also works
list[i] for |curly-braces-names|, |Dictionary|
import.Func entries, |List| items, imported
- items,etc.
+ items, etc.
Does not work for local variables in a
compiled `:def` function.
Beware that evaluating an index may
@@ -5139,7 +5139,7 @@ luaeval({expr} [, {expr}]) *luaeval()*
map({expr1}, {expr2}) *map()*
{expr1} must be a |List|, |String|, |Blob| or |Dictionary|.
- When {expr1} is a |List|| or |Dictionary|, replace each
+ When {expr1} is a |List| or |Dictionary|, replace each
item in {expr1} with the result of evaluating {expr2}.
For a |Blob| each byte is replaced.
For a |String|, each character, including composing
@@ -7897,7 +7897,7 @@ sha256({string}) *sha256()*
shellescape({string} [, {special}]) *shellescape()*
Escape {string} for use as a shell command argument.
When the 'shell' contains powershell (MS-Windows) or pwsh
- (MS-Windows, Linux, and MacOS) then it will enclose {string}
+ (MS-Windows, Linux, and macOS) then it will enclose {string}
in single quotes and will double up all internal single
quotes.
On MS-Windows, when 'shellslash' is not set, it will enclose
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 5c4b61a3e..a7b6e77ec 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -389,7 +389,7 @@ as a wildcard when "[" is in the 'isfname' option. A simple way to avoid this
is to use "path\[[]abc]", this matches the file "path\[abc]".
*starstar-wildcard*
-Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
+Expanding "**" is possible on Unix, Win32, macOS and a few other systems.
This allows searching a directory tree. This goes up to 100 directories deep.
Note there are some commands where this works slightly differently, see
|file-searching|.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f016c4ab8..cc2a5b778 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1371,7 +1371,7 @@ And NOT: >
-(1.234->string())
What comes after "->" can be a name, a simple expression (not containing any
-parenthesis), or any expression in parenthesis: >
+parenthesis), or any expression in parentheses: >
base->name(args)
base->some.name(args)
base->alist[idx](args)
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 435002bfc..eb269e16c 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -162,7 +162,7 @@ and avoid errors. Such as thinking that the "-0o36" above makes the number
negative, while it is actually seen as a subtraction.
To actually have the minus sign be used for negation, you can put the second
-expression in parenthesis: >
+expression in parentheses: >
echo -0x7f (-0o36)