vim-patch:partial:5985879e3c36 (#25780)

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

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

5985879e3c

Skip runtime/doc/indent.txt: not ported yet

Co-authored-by: h_east <h.east.727@gmail.com>
Co-authored-by: K.Takata <kentkt@csc.jp>
This commit is contained in:
zeertzjq 2023-10-26 06:41:54 +08:00 committed by GitHub
parent 3347519dd7
commit bfe8a39512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 10 deletions

View File

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

View File

@ -89,7 +89,7 @@ Nvim development is funded separately from Vim:
==============================================================================
Credits *credits*
Most of Vim was written by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|
Most of Vim was written by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|.
Parts of the documentation come from several Vi manuals, written by:
W.N. Joy

View File

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

View File

@ -52,7 +52,7 @@ achieve special effects. These options come in three forms:
'lines'
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}
Set string or number option to {value}.
@ -6224,7 +6224,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 is checked, when
- jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|,
etc.)
etc.).
- jumping to a tag using the |:stag| 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|,

View File

@ -6614,7 +6614,7 @@ vim.bo.swf = vim.bo.swapfile
--- This option controls the behavior when switching between buffers.
--- This option is checked, when
--- - jumping to errors with the `quickfix` commands (`:cc`, `:cn`, `:cp`,
--- etc.)
--- etc.).
--- - jumping to a tag using the `:stag` 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`,

View File

@ -3507,7 +3507,7 @@ function vim.fn.getregtype(regname) end
--- Note that this is a copy, the value of
--- script-local variables cannot be changed using
--- this dictionary.
--- version Vimscript version, always 1
--- version Vim script version, always 1
---
--- Examples: >vim
--- echo getscriptinfo({'name': 'myscript'})

View File

@ -4335,7 +4335,7 @@ M.funcs = {
Note that this is a copy, the value of
script-local variables cannot be changed using
this dictionary.
version Vimscript version, always 1
version Vim script version, always 1
Examples: >vim
echo getscriptinfo({'name': 'myscript'})

View File

@ -8366,7 +8366,7 @@ return {
This option controls the behavior when switching between buffers.
This option is checked, when
- jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|,
etc.)
etc.).
- jumping to a tag using the |:stag| 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|,