runtime(doc): Fix typos in help documents

closes: #14720

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
h-east
2024-05-05 18:42:31 +02:00
committed by Christian Brabandt
parent c3e6e393cb
commit 53753f6a49
11 changed files with 45 additions and 44 deletions

View File

@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 9.1. Last change: 2024 Mar 26 *autocmd.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -428,8 +428,8 @@ Name triggered by ~
|SessionLoadPost| after loading a session file |SessionLoadPost| after loading a session file
|SessionWritePost| After writing the session file using |SessionWritePost| after writing the session file using
the |:mksession| command. the |:mksession| command
|MenuPopup| just before showing the popup menu |MenuPopup| just before showing the popup menu
|CompleteChanged| after Insert mode completion menu changed |CompleteChanged| after Insert mode completion menu changed

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2024 May 04 *builtin.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -2544,7 +2544,7 @@ expand({string} [, {nosuf} [, {list}]]) *expand()*
not start with '%', '#' or '<', see below. not start with '%', '#' or '<', see below.
For a |:terminal| window '%' expands to a '!' followed by For a |:terminal| window '%' expands to a '!' followed by
the command or shell that is run |terminal-bufname| the command or shell that is run. |terminal-bufname|
When {string} starts with '%', '#' or '<', the expansion is When {string} starts with '%', '#' or '<', the expansion is
done like for the |cmdline-special| variables with their done like for the |cmdline-special| variables with their

View File

@ -1,4 +1,4 @@
*change.txt* For Vim version 9.1. Last change: 2024 Apr 14 *change.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1346,7 +1346,7 @@ The expression must evaluate to a String. A Number is always automatically
converted to a String. For the "p" and ":put" command, if the result is a converted to a String. For the "p" and ":put" command, if the result is a
Float it's converted into a String. If the result is a List each element is Float it's converted into a String. If the result is a List each element is
turned into a String and used as a line. A Dictionary is converted into a turned into a String and used as a line. A Dictionary is converted into a
String. A FuncRef results in an error message (use string() to convert). String. A Funcref results in an error message (use string() to convert).
If the "= register is used for the "p" command, the String is split up at <NL> If the "= register is used for the "p" command, the String is split up at <NL>
characters. If the String ends in a <NL>, it is regarded as a linewise characters. If the String ends in a <NL>, it is regarded as a linewise

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 9.1. Last change: 2024 Mar 28 *eval.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -3099,7 +3099,7 @@ text...
:cons[t] {var-name} = {expr1} :cons[t] {var-name} = {expr1}
:cons[t] [{name1}, {name2}, ...] = {expr1} :cons[t] [{name1}, {name2}, ...] = {expr1}
:cons[t] [{name}, ..., ; {lastname}] = {expr1} :cons[t] [{name}, ..., ; {lastname}] = {expr1}
:cons[t] {var-name} =<< [trim] {marker} :cons[t] {var-name} =<< [trim] [eval] {marker}
text... text...
text... text...
{marker} {marker}

View File

@ -1261,5 +1261,5 @@ By default, the yaml indent script does not try to detect multiline scalars.
If you want to enable this, set the following variable: > If you want to enable this, set the following variable: >
let g:yaml_indent_multiline_scalar = 1 let g:yaml_indent_multiline_scalar = 1
<
vim:tw=78:ts=8:noet:ft=help:norl: vim:tw=78:ts=8:noet:ft=help:norl:

View File

@ -1,4 +1,4 @@
*map.txt* For Vim version 9.1. Last change: 2024 Jan 25 *map.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -986,11 +986,11 @@ For the Meta modifier the "T" character is used. For example, to map Meta-b
in Insert mode: > in Insert mode: >
:imap <T-b> terrible :imap <T-b> terrible
1.12 MAPPING SUPER-KEYS or COMMAND-KEYS *:map-super-keys* *:map-cmd-key* 1.12 MAPPING SUPER-KEYS or COMMAND-KEYS *:map-super-keys* *:map-cmd-key*
The Super modifier is available in GUI mode (when |gui_running| is 1) for The Super modifier is available in GUI mode (when |gui_running| is 1) for gVim
GVim on Linux and MacVim on Mac OS. If you're on a Mac, this represents the on Linux and MacVim on Mac OS. If you're on a Mac, this represents the Command
Command key, on Linux with the GTK GUI it represents the Super key. key, on Linux with the GTK GUI it represents the Super key.
The character "D" is used for the Super / Command modifier. The character "D" is used for the Super / Command modifier.
For example, to map Command-b in Insert mode: > For example, to map Command-b in Insert mode: >

View File

@ -1,4 +1,4 @@
*starting.txt* For Vim version 9.1. Last change: 2024 May 02 *starting.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -104,9 +104,9 @@ rvim vim -Z Like "vim", but in restricted mode (see |-Z|) *rvim*
rview vim -RZ Like "view", but in restricted mode. *rview* rview vim -RZ Like "view", but in restricted mode. *rview*
rgvim vim -gZ Like "gvim", but in restricted mode. *rgvim* rgvim vim -gZ Like "gvim", but in restricted mode. *rgvim*
rgview vim -RgZ Like "gview", but in restricted mode. *rgview* rgview vim -RgZ Like "gview", but in restricted mode. *rgview*
evim vim -y Easy Vim: set 'insertmode' (see |-y|) *evim* evim vim -y Easy Vim: set 'insertmode' (see |-y|) *evim*
eview vim -yR Like "evim" in read-only mode *eview* eview vim -yR Like "evim" in read-only mode *eview*
vimdiff vim -d Start in diff mode |diff-mode| vimdiff vim -d Start in diff mode |diff-mode|
gvimdiff vim -gd Start in diff mode |diff-mode| gvimdiff vim -gd Start in diff mode |diff-mode|
Additional characters may follow, they are ignored. For example, you can have Additional characters may follow, they are ignored. For example, you can have
@ -812,7 +812,7 @@ accordingly. Vim proceeds in this order:
Places for your personal initializations: Places for your personal initializations:
Unix $HOME/.vimrc, $HOME/.vim/vimrc Unix $HOME/.vimrc, $HOME/.vim/vimrc
or $XDG_CONFIG_HOME/vim/vimrc or $XDG_CONFIG_HOME/vim/vimrc
MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc
or $VIM/_vimrc or $VIM/_vimrc
Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2024 Apr 28 *syntax.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -946,7 +946,8 @@ Enables Stylus for ".astro" files. Default Value: "disable"
NOTE: You need to install an external plugin to support stylus in astro files. NOTE: You need to install an external plugin to support stylus in astro files.
ASPPERL and ASPVBS *ft-aspperl-syntax* *ft-aspvbs-syntax* ASPPERL *ft-aspperl-syntax*
ASPVBS *ft-aspvbs-syntax*
*.asp and *.asa files could be either Perl or Visual Basic script. Since it's *.asp and *.asa files could be either Perl or Visual Basic script. Since it's
hard to detect this you can set two global variables to tell Vim what you are hard to detect this you can set two global variables to tell Vim what you are

View File

@ -1,4 +1,4 @@
*term.txt* For Vim version 9.1. Last change: 2024 Apr 14 *term.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -382,8 +382,8 @@ The options are listed below. The associated termcap code is always equal to
the last two characters of the option name. Only one termcap code is the last two characters of the option name. Only one termcap code is
required: Cursor motion, 't_cm'. required: Cursor motion, 't_cm'.
The options 't_da', 't_db', 't_ms', 't_xs', 't_xn', 't_xo' represent flags in the The options 't_da', 't_db', 't_ms', 't_xs', 't_xn', 't_xo' represent flags in
termcap. When the termcap flag is present, the option will be set to "y". the termcap. When the termcap flag is present, the option will be set to "y".
But any non-empty string means that the flag is set. An empty string means But any non-empty string means that the flag is set. An empty string means
that the flag is not set. 't_CS' works like this too, but it isn't a termcap that the flag is not set. 't_CS' works like this too, but it isn't a termcap
flag. flag.

View File

@ -1,4 +1,4 @@
*testing.txt* For Vim version 9.1. Last change: 2024 May 03 *testing.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -365,32 +365,32 @@ test_override({name}, {val}) *test_override()*
{name} effect when {val} is non-zero ~ {name} effect when {val} is non-zero ~
alloc_lines make a copy of every buffer line into allocated alloc_lines make a copy of every buffer line into allocated
memory, so that memory access errors can be found memory, so that memory access errors can be found
by valgrind by valgrind.
autoload `import autoload` will load the script right autoload `import autoload` will load the script right
away, not postponed until an item is used away, not postponed until an item is used.
char_avail disable the char_avail() function char_avail disable the char_avail() function.
defcompile all the |:def| functions in a sourced script are defcompile all the |:def| functions in a sourced script are
compiled when defined. This is similar to using compiled when defined. This is similar to using
the |:defcompile| command in a script. the |:defcompile| command in a script.
nfa_fail makes the NFA regexp engine fail to force a nfa_fail makes the NFA regexp engine fail to force a
fallback to the old engine fallback to the old engine.
no_query_mouse do not query the mouse position for "dec" no_query_mouse do not query the mouse position for "dec"
terminals terminals.
no_wait_return set the "no_wait_return" flag. Not restored no_wait_return set the "no_wait_return" flag. Not restored
with "ALL". with "ALL".
redraw disable the redrawing() function redraw disable the redrawing() function.
redraw_flag ignore the RedrawingDisabled flag redraw_flag ignore the RedrawingDisabled flag.
starting reset the "starting" variable, see below starting reset the "starting" variable, see below.
term_props reset all terminal properties when the version term_props reset all terminal properties when the version
string is detected string is detected.
ui_delay time in msec to use in ui_delay(); overrules a ui_delay time in msec to use in ui_delay(); overrules a
wait time of up to 3 seconds for messages wait time of up to 3 seconds for messages.
unreachable no error for code after `:throw` and `:return` unreachable no error for code after `:throw` and `:return`.
uptime overrules sysinfo.uptime uptime overrules sysinfo.uptime.
vterm_title setting the window title by a job running in a vterm_title setting the window title by a job running in a
terminal window terminal window.
ALL clear all overrides, except alloc_lines ({val} is ALL clear all overrides, except alloc_lines ({val} is
not used) not used).
"starting" is to be used when a test should behave like "starting" is to be used when a test should behave like
startup was done. Since the tests are run by sourcing a startup was done. Since the tests are run by sourcing a

View File

@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2024 Apr 26 *version9.txt* For Vim version 9.1. Last change: 2024 May 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -32090,7 +32090,7 @@ Solution: Store the text column when drawing text.
Patch 9.0.0049 Patch 9.0.0049
Problem: Csv and tsv files are not recognized. Problem: Csv and tsv files are not recognized.
Solution: Add patterns fo csv and tsv files. (Leandro Lourenci, Solution: Add patterns for csv and tsv files. (Leandro Lourenci,
closes #10680) closes #10680)
Patch 9.0.0050 Patch 9.0.0050
@ -40641,7 +40641,7 @@ Solution: Use the class-related grow array for storing the
Patch 9.0.1989 Patch 9.0.1989
Problem: Vim9: double error message given Problem: Vim9: double error message given
Solution: Only give second error message, if ther Solution: Only give second error message, if there
wasn't one given before wasn't one given before
Patch 9.0.1990 Patch 9.0.1990
@ -40687,7 +40687,7 @@ Solution: Mention the defining class for variable access error message
Patch 9.0.2000 Patch 9.0.2000
Problem: Vim9: use-after-free in deep call stack Problem: Vim9: use-after-free in deep call stack
Solution: Get the objct pointer from execution stack Solution: Get the object pointer from execution stack
Patch 9.0.2001 Patch 9.0.2001
Problem: Vim9: segfault with islocked() Problem: Vim9: segfault with islocked()