Mercurial > vim
changeset 33649:88cad94caef9
runtime(doc): Fix typos in several documents (#13420)
Commit: https://github.com/vim/vim/commit/5985879e3c36383155f84649fa42d06813a1893e
Author: h_east <h.east.727@gmail.com>
Date: Wed Oct 25 22:47:05 2023 +0900
runtime(doc): Fix typos in several documents (https://github.com/vim/vim/issues/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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 25 Oct 2023 16:00:07 +0200 |
parents | 13e4398925ea |
children | 5614c43616fe |
files | runtime/doc/builtin.txt runtime/doc/indent.txt runtime/doc/intro.txt runtime/doc/options.txt runtime/doc/syntax.txt runtime/doc/terminal.txt runtime/doc/usr_41.txt runtime/doc/various.txt |
diffstat | 8 files changed, 22 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -4201,7 +4201,7 @@ getscriptinfo([{opts}]) *getscriptin Note that this is a copy, the value of script-local variables cannot be changed using this dictionary. - version Vimscript version (|scriptversion|) + version Vim script version (|scriptversion|) Examples: > :echo getscriptinfo({'name': 'myscript'})
--- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1236,7 +1236,7 @@ variable. It supports 3 keys, `line_con and `searchpair_timeout`. `line_continuation` expects a number which will be added to the indent level of 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 `shiftwidth()` is added inside blocks surrounded with brackets. It defaults to `v:false`. @@ -1244,14 +1244,14 @@ a continuation line starting with a back a timeout. Increasing the value might give more accurate results, but also causes the indentation to take more time. It defaults to 100 (milliseconds). -Example of configuration: +Example of configuration: > let g:vim_indent = #{ \ line_continuation: shiftwidth() * 3, \ more_in_bracket_block: v:false, \ searchpair_timeout: 100, \ } - +< *g:vim_indent_cont* This variable is equivalent to `g:vim_indent.line_continuation`. It's supported for backward compatibility.
--- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -184,7 +184,7 @@ introduce Y2K problems, but those are no ============================================================================== 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: W.N. Joy @@ -217,7 +217,8 @@ Vim would never have become what it is n Bill Foster Athena GUI port (later removed) Google Let Bram work on Vim one day a week 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 Jason Hildebrand GTK+ 2 port Bruce Hunsaker improvements for VMS port
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -71,7 +71,7 @@ 1. Setting options *set-option* *E76 'ttytype' 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}. @@ -4321,8 +4321,8 @@ A jump table for the options with a shor |hl-PmenuSel| = popup menu selected line |hl-PmenuKind| [ popup menu "kind" normal line |hl-PmenuKindSel| ] popup menu "kind" selected line - |hl-PmenuExtra| { popup menu "kind" normal line - |hl-PmenuExtraSel| } popup menu "kind" selected line + |hl-PmenuExtra| { popup menu "extra" normal line + |hl-PmenuExtraSel| } popup menu "extra" selected line |hl-PmenuSbar| x popup menu scrollbar |hl-PmenuThumb| X popup menu scrollbar thumb @@ -5747,7 +5747,7 @@ A jump table for the options with a shor The 'mousemodel' option is set by the |:behave| command. - *'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'* + *'mousemoveevent'* *'mousemev'* *'nomousemoveevent'* *'nomousemev'* 'mousemoveevent' 'mousemev' boolean (default off) global {only works in the GUI} @@ -7996,7 +7996,7 @@ A jump table for the options with a shor 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|, @@ -8973,10 +8973,10 @@ A jump table for the options with a shor displayed when 'verbosefile' is set. *'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 Unix: "$HOME/.vim/view", - for macOS: "$VIM/vimfiles/view" + for macOS: "$VIM/vimfiles/view", for VMS: "sys$login:vimfiles/view") global {not available when compiled without the |+mksession|
--- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -2797,7 +2797,7 @@ The first option implies the second one. For highlighted trailing whitespace and mix of spaces and tabs: > :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 This has the same effect as setting python_space_error_highlight and unsetting all the other ones.
--- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1485,8 +1485,9 @@ If there is no g:termdebug_config you ca 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: > +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: > 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: >
--- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -877,7 +877,8 @@ Other computation: *bitwise-function srand() initialize seed used by rand() 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 typename() type of a variable as text islocked() check if a variable is locked
--- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -449,7 +449,8 @@ m *+python/dyn* Python 2 interface |pyt m *+python3* Python 3 interface |python| m *+python3/dyn* Python 3 interface |python-dynamic| |/dyn| 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 *+reltime* |reltime()| function, 'hlsearch'/'incsearch' timeout, 'redrawtime' option