Commit: runtime(doc): grammar fixes in options.txt

6 views
Skip to first unread message

Christian Brabandt

unread,
Jul 17, 2024, 2:13:56 AM7/17/24
to vim...@googlegroups.com
runtime(doc): grammar fixes in options.txt

Commit: https://github.com/vim/vim/commit/df62c62177bd4dffce880b7a5711594865090953
Author: Dominique Pellé <dominiq...@gmail.com>
Date: Mon Jul 15 20:29:59 2024 +0200

runtime(doc): grammar fixes in options.txt

closes: https://github.com/vim/vim/issues/15265

Signed-off-by: Dominique Pellé <dominiq...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 5f1a2a074..cb2ddc39e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2024 Jul 11
+*options.txt* For Vim version 9.1. Last change: 2024 Jul 15


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1476,7 +1476,7 @@ A jump table for the options with a short description can be found at |Q_op|.
applying 'breakindent', even if the resulting
text should normally be narrower. This prevents
text indented almost to the right window border
- occupying lot of vertical space when broken.
+ occupying lots of vertical space when broken.
(default: 20)
shift:{n} After applying 'breakindent', the wrapped line's
beginning will be shifted by the given number of
@@ -4727,7 +4727,7 @@ A jump table for the options with a short description can be found at |Q_op|.
in Insert mode as specified with the 'indentkeys' option.
When this option is not empty, it overrules the 'cindent' and
'smartindent' indenting. When 'lisp' is set, this option is
- is only used when 'lispoptions' contains "expr:1".
+ only used when 'lispoptions' contains "expr:1".
When 'paste' is set this option is not used for indenting.
The expression is evaluated with |v:lnum| set to the line number for
which the indent is to be computed. The cursor is also in this line
@@ -5090,7 +5090,7 @@ A jump table for the options with a short description can be found at |Q_op|.
part can be in one of two forms:
1. A list of pairs. Each pair is a "from" character immediately
followed by the "to" character. Examples: "aA", "aAbBcC".
- 2. A list of "from" characters, a semi-colon and a list of "to"
+ 2. A list of "from" characters, a semicolon and a list of "to"
characters. Example: "abc;ABC"
Example: "aA,fgh;FGH,cCdDeE"
Special characters need to be preceded with a backslash. These are
@@ -5172,7 +5172,7 @@ A jump table for the options with a short description can be found at |Q_op|.
update use |:redraw|.
This may occasionally cause display errors. It is only meant to be set
temporarily when performing an operation where redrawing may cause
- flickering or cause a slow down.
+ flickering or cause a slowdown.

*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
'linebreak' 'lbr' boolean (default off)
@@ -6174,7 +6174,7 @@ A jump table for the options with a short description can be found at |Q_op|.
:set path+=
< To use an environment variable, you probably need to replace the
separator. Here is an example to append $INCL, in which directory
- names are separated with a semi-colon: >
+ names are separated with a semicolon: >
:let &path = &path .. "," .. substitute($INCL, ';', ',', 'g')
< Replace the ';' with a ':' or whatever separator is used. Note that
this doesn't work when $INCL contains a comma or white space.
@@ -7241,7 +7241,7 @@ A jump table for the options with a short description can be found at |Q_op|.
POSIX default: "AS")
global *E1336*
This option helps to avoid all the |hit-enter| prompts caused by file
- messages, for example with CTRL-G, and to avoid some other messages.
+ messages, for example with CTRL-G, and to avoid some other messages.
It is a list of flags:
flag meaning when present ~
f use "(3 of 5)" instead of "(file 3 of 5)" *shm-f*
@@ -7698,7 +7698,7 @@ A jump table for the options with a short description can be found at |Q_op|.
minus two.

timeout:{millisec} Limit the time searching for suggestions to
- {millisec} milli seconds. Applies to the following
+ {millisec} milliseconds. Applies to the following
methods. When omitted the limit is 5000. When
negative there is no limit. {only works when built
with the |+reltime| feature}
Reply all
Reply to author
Forward
0 new messages