runtime(doc): grammar fixes in options.txt

closes: #15265

Signed-off-by: Dominique Pellé <dominique.pelle@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Dominique Pellé
2024-07-15 20:29:59 +02:00
committed by Christian Brabandt
parent 3ce274682b
commit df62c62177

View File

@ -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 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 applying 'breakindent', even if the resulting
text should normally be narrower. This prevents text should normally be narrower. This prevents
text indented almost to the right window border text indented almost to the right window border
occupying lot of vertical space when broken. occupying lots of vertical space when broken.
(default: 20) (default: 20)
shift:{n} After applying 'breakindent', the wrapped line's shift:{n} After applying 'breakindent', the wrapped line's
beginning will be shifted by the given number of 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. in Insert mode as specified with the 'indentkeys' option.
When this option is not empty, it overrules the 'cindent' and When this option is not empty, it overrules the 'cindent' and
'smartindent' indenting. When 'lisp' is set, this option is '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. When 'paste' is set this option is not used for indenting.
The expression is evaluated with |v:lnum| set to the line number for 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 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: part can be in one of two forms:
1. A list of pairs. Each pair is a "from" character immediately 1. A list of pairs. Each pair is a "from" character immediately
followed by the "to" character. Examples: "aA", "aAbBcC". 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" characters. Example: "abc;ABC"
Example: "aA,fgh;FGH,cCdDeE" Example: "aA,fgh;FGH,cCdDeE"
Special characters need to be preceded with a backslash. These are 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|. update use |:redraw|.
This may occasionally cause display errors. It is only meant to be set This may occasionally cause display errors. It is only meant to be set
temporarily when performing an operation where redrawing may cause 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'* *'nolinebreak'* *'nolbr'*
'linebreak' 'lbr' boolean (default off) '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+= :set path+=
< To use an environment variable, you probably need to replace the < To use an environment variable, you probably need to replace the
separator. Here is an example to append $INCL, in which directory 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') :let &path = &path .. "," .. substitute($INCL, ';', ',', 'g')
< Replace the ';' with a ':' or whatever separator is used. Note that < Replace the ';' with a ':' or whatever separator is used. Note that
this doesn't work when $INCL contains a comma or white space. 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") POSIX default: "AS")
global *E1336* global *E1336*
This option helps to avoid all the |hit-enter| prompts caused by file 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: It is a list of flags:
flag meaning when present ~ flag meaning when present ~
f use "(3 of 5)" instead of "(file 3 of 5)" *shm-f* 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. minus two.
timeout:{millisec} Limit the time searching for suggestions to 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 methods. When omitted the limit is 5000. When
negative there is no limit. {only works when built negative there is no limit. {only works when built
with the |+reltime| feature} with the |+reltime| feature}