diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-26 06:41:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 06:41:54 +0800 |
commit | bfe8a39512bc4dbf4921c56158c61a172e8f10cf (patch) | |
tree | 2458139326b6aa7c4dd3825bf8a9bf667b9befff | |
parent | 3347519dd7e0a7cb2730dfa45dca5fd0a40e69e0 (diff) | |
download | rneovim-bfe8a39512bc4dbf4921c56158c61a172e8f10cf.tar.gz rneovim-bfe8a39512bc4dbf4921c56158c61a172e8f10cf.tar.bz2 rneovim-bfe8a39512bc4dbf4921c56158c61a172e8f10cf.zip |
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
https://github.com/vim/vim/commit/5985879e3c36383155f84649fa42d06813a1893e
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>
-rw-r--r-- | runtime/doc/builtin.txt | 2 | ||||
-rw-r--r-- | runtime/doc/intro.txt | 2 | ||||
-rw-r--r-- | runtime/doc/nvim_terminal_emulator.txt | 5 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 | ||||
-rw-r--r-- | src/nvim/eval.lua | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 2 |
8 files changed, 11 insertions, 10 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 8b472523f1..5a99fb686e 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -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'}) diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index 299c18ac2e..85115fc22b 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -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 diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt index 0cfeb3dcb7..2f7197e2ef 100644 --- a/runtime/doc/nvim_terminal_emulator.txt +++ b/runtime/doc/nvim_terminal_emulator.txt @@ -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 diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 9dc382948c..3864b4f25b 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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|, diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 83b30838ab..967cf36da0 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -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`, diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 2c594e049f..1830e1796b 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -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'}) diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index eec3c68e0f..deaeb51289 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -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'}) diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 215661539f..9629a3c4ce 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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|, |