runtime(doc): Fix typos in several documents (#13420)

* Fix typos in several documents
* Update runtime/doc/terminal.txt

Co-authored-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
h_east
2023-10-25 22:47:05 +09:00
committed by GitHub
parent 50f3ec2898
commit 5985879e3c
8 changed files with 22 additions and 18 deletions

View File

@ -4201,7 +4201,7 @@ getscriptinfo([{opts}]) *getscriptinfo()*
Note that this is a copy, the value of Note that this is a copy, the value of
script-local variables cannot be changed using script-local variables cannot be changed using
this dictionary. this dictionary.
version Vimscript version (|scriptversion|) version Vim script version (|scriptversion|)
Examples: > Examples: >
:echo getscriptinfo({'name': 'myscript'}) :echo getscriptinfo({'name': 'myscript'})

View File

@ -1236,7 +1236,7 @@ variable. It supports 3 keys, `line_continuation`, `more_in_bracket_block`,
and `searchpair_timeout`. and `searchpair_timeout`.
`line_continuation` expects a number which will be added to the indent level of `line_continuation` expects a number which will be added to the indent level of
a continuation line starting with a backslash, and defaults to a continuation line starting with a backslash, and defaults to
`shiftwidth() * 3`. It also accepts a string, which is evaluated at runtime. `shiftwidth() * 3` . It also accepts a string, which is evaluated at runtime.
`more_in_bracket_block` expects a boolean value; when on, an extra `more_in_bracket_block` expects a boolean value; when on, an extra
`shiftwidth()` is added inside blocks surrounded with brackets. It defaults to `shiftwidth()` is added inside blocks surrounded with brackets. It defaults to
`v:false`. `v:false`.
@ -1244,14 +1244,14 @@ a continuation line starting with a backslash, and defaults to
a timeout. Increasing the value might give more accurate results, but also a timeout. Increasing the value might give more accurate results, but also
causes the indentation to take more time. It defaults to 100 (milliseconds). causes the indentation to take more time. It defaults to 100 (milliseconds).
Example of configuration: Example of configuration: >
let g:vim_indent = #{ let g:vim_indent = #{
\ line_continuation: shiftwidth() * 3, \ line_continuation: shiftwidth() * 3,
\ more_in_bracket_block: v:false, \ more_in_bracket_block: v:false,
\ searchpair_timeout: 100, \ searchpair_timeout: 100,
\ } \ }
<
*g:vim_indent_cont* *g:vim_indent_cont*
This variable is equivalent to `g:vim_indent.line_continuation`. This variable is equivalent to `g:vim_indent.line_continuation`.
It's supported for backward compatibility. It's supported for backward compatibility.

View File

@ -184,7 +184,7 @@ introduce Y2K problems, but those are not really part of Vim itself.
============================================================================== ==============================================================================
3. Credits *credits* *author* 3. Credits *credits* *author*
Most of Vim was created by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar| Most of Vim was created by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|.
Parts of the documentation come from several Vi manuals, written by: Parts of the documentation come from several Vi manuals, written by:
W.N. Joy W.N. Joy
@ -217,7 +217,8 @@ Vim would never have become what it is now, without the help of these people!
Bill Foster Athena GUI port (later removed) Bill Foster Athena GUI port (later removed)
Google Let Bram work on Vim one day a week Google Let Bram work on Vim one day a week
Loic Grenie xvim (ideas for multi windows version) Loic Grenie xvim (ideas for multi windows version)
Sven Guckes Vim promoter and previous WWW page maintainer |Sven-Guckes| Sven Guckes Vim promoter and previous WWW page maintainer
|Sven-Guckes|
Darren Hiebert Exuberant ctags Darren Hiebert Exuberant ctags
Jason Hildebrand GTK+ 2 port Jason Hildebrand GTK+ 2 port
Bruce Hunsaker improvements for VMS port Bruce Hunsaker improvements for VMS port

View File

@ -71,7 +71,7 @@ achieve special effects. These options come in three forms:
'ttytype' 'ttytype'
Warning: This may have a lot of side effects. Warning: This may have a lot of side effects.
*:set-args* *:set=* *E487* *E521* *:set-args* *:set=* *E487* *E521*
:se[t] {option}={value} or :se[t] {option}={value} or
:se[t] {option}:{value} :se[t] {option}:{value}
Set string or number option to {value}. Set string or number option to {value}.
@ -4321,8 +4321,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|hl-PmenuSel| = popup menu selected line |hl-PmenuSel| = popup menu selected line
|hl-PmenuKind| [ popup menu "kind" normal line |hl-PmenuKind| [ popup menu "kind" normal line
|hl-PmenuKindSel| ] popup menu "kind" selected line |hl-PmenuKindSel| ] popup menu "kind" selected line
|hl-PmenuExtra| { popup menu "kind" normal line |hl-PmenuExtra| { popup menu "extra" normal line
|hl-PmenuExtraSel| } popup menu "kind" selected line |hl-PmenuExtraSel| } popup menu "extra" selected line
|hl-PmenuSbar| x popup menu scrollbar |hl-PmenuSbar| x popup menu scrollbar
|hl-PmenuThumb| X popup menu scrollbar thumb |hl-PmenuThumb| X popup menu scrollbar thumb
@ -5747,7 +5747,7 @@ A jump table for the options with a short description can be found at |Q_op|.
The 'mousemodel' option is set by the |:behave| command. The 'mousemodel' option is set by the |:behave| command.
*'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'* *'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'*
'mousemoveevent' 'mousemev' boolean (default off) 'mousemoveevent' 'mousemev' boolean (default off)
global global
{only works in the GUI} {only works in the GUI}
@ -7996,7 +7996,7 @@ A jump table for the options with a short description can be found at |Q_op|.
This option controls the behavior when switching between buffers. This option controls the behavior when switching between buffers.
This option is checked, when This option is checked, when
- jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|, - jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|,
etc.) etc.).
- jumping to a tag using the |:stag| command. - jumping to a tag using the |:stag| command.
- opening a file using the |CTRL-W_f| or |CTRL-W_F| command. - opening a file using the |CTRL-W_f| or |CTRL-W_F| command.
- jumping to a buffer using a buffer split command (e.g. |:sbuffer|, - jumping to a buffer using a buffer split command (e.g. |:sbuffer|,
@ -8973,10 +8973,10 @@ A jump table for the options with a short description can be found at |Q_op|.
displayed when 'verbosefile' is set. displayed when 'verbosefile' is set.
*'viewdir'* *'vdir'* *'viewdir'* *'vdir'*
'viewdir' 'vdir' string (default for Amiga "home:vimfiles/view", 'viewdir' 'vdir' string (default for Amiga: "home:vimfiles/view",
for Win32: "$HOME/vimfiles/view", for Win32: "$HOME/vimfiles/view",
for Unix: "$HOME/.vim/view", for Unix: "$HOME/.vim/view",
for macOS: "$VIM/vimfiles/view" for macOS: "$VIM/vimfiles/view",
for VMS: "sys$login:vimfiles/view") for VMS: "sys$login:vimfiles/view")
global global
{not available when compiled without the |+mksession| {not available when compiled without the |+mksession|

View File

@ -2797,7 +2797,7 @@ The first option implies the second one.
For highlighted trailing whitespace and mix of spaces and tabs: > For highlighted trailing whitespace and mix of spaces and tabs: >
:let python_space_error_highlight = 1 :let python_space_error_highlight = 1
If you want all possible Python highlighting: If you want all possible Python highlighting: >
:let python_highlight_all = 1 :let python_highlight_all = 1
This has the same effect as setting python_space_error_highlight and This has the same effect as setting python_space_error_highlight and
unsetting all the other ones. unsetting all the other ones.

View File

@ -1485,8 +1485,9 @@ If there is no g:termdebug_config you can use: >
Any value greater than 1 will set the Asm window height to that value. Any value greater than 1 will set the Asm window height to that value.
*termdebug_variables_window* *termdebug_variables_window*
If you want the Var window shown by default, set the flag to 1. If you want the Var window shown by default, set the "variables_window" flag
the "variables_window_height" entry can be used to set the window height: > to 1. The "variables_window_height" entry can be used to set the window
height: >
let g:termdebug_config['variables_window'] = 1 let g:termdebug_config['variables_window'] = 1
let g:termdebug_config['variables_window_height'] = 15 let g:termdebug_config['variables_window_height'] = 15
If there is no g:termdebug_config you can use: > If there is no g:termdebug_config you can use: >

View File

@ -877,7 +877,8 @@ Other computation: *bitwise-function*
srand() initialize seed used by rand() srand() initialize seed used by rand()
Variables: *var-functions* Variables: *var-functions*
instanceof() check if a variable is an instance of a given class instanceof() check if a variable is an instance of a given
class
type() type of a variable as a number type() type of a variable as a number
typename() type of a variable as text typename() type of a variable as text
islocked() check if a variable is locked islocked() check if a variable is locked

View File

@ -449,7 +449,8 @@ m *+python/dyn* Python 2 interface |python-dynamic| |/dyn|
m *+python3* Python 3 interface |python| m *+python3* Python 3 interface |python|
m *+python3/dyn* Python 3 interface |python-dynamic| |/dyn| m *+python3/dyn* Python 3 interface |python-dynamic| |/dyn|
m *+python3/dyn-stable* m *+python3/dyn-stable*
Python 3 interface |python-dynamic| |python-stable| |/dyn| Python 3 interface |python-dynamic| |python-stable|
|/dyn|
N *+quickfix* |:make| and |quickfix| commands N *+quickfix* |:make| and |quickfix| commands
N *+reltime* |reltime()| function, 'hlsearch'/'incsearch' timeout, N *+reltime* |reltime()| function, 'hlsearch'/'incsearch' timeout,
'redrawtime' option 'redrawtime' option