summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorh_east <h.east.727@gmail.com>2023-10-25 22:47:05 +0900
committerGitHub <noreply@github.com>2023-10-25 14:47:05 +0100
commit5985879e3c36383155f84649fa42d06813a1893e (patch)
treed4d7f9b1626ef2052e4db7d5e7d849f9f7258127
parent50f3ec2898a43feaa6add2bc4875754cf9224d5e (diff)
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>
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/doc/indent.txt6
-rw-r--r--runtime/doc/intro.txt5
-rw-r--r--runtime/doc/options.txt14
-rw-r--r--runtime/doc/syntax.txt2
-rw-r--r--runtime/doc/terminal.txt5
-rw-r--r--runtime/doc/usr_41.txt3
-rw-r--r--runtime/doc/various.txt3
8 files changed, 22 insertions, 18 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 5f57fdb59d..996f0fbba8 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -4201,7 +4201,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 (|scriptversion|)
+ version Vim script version (|scriptversion|)
Examples: >
:echo getscriptinfo({'name': 'myscript'})
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index 8cae93ab83..a16c8aca6f 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -1236,7 +1236,7 @@ variable. It supports 3 keys, `line_continuation`, `more_in_bracket_block`,
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 backslash, and defaults to
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.
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index b19c3067cb..f4ddb0876c 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -184,7 +184,7 @@ introduce Y2K problems, but those are not really part of Vim itself.
==============================================================================
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 now, without the help of these people!
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
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index cdb4992a74..a08285e5af 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -71,7 +71,7 @@ achieve special effects. These options come in three forms:
'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 short description can be found at |Q_op|.
|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 short description can be found at |Q_op|.
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 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|,
@@ -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.
*'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|
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index fe560d3807..057d201581 100644
--- 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.
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 62bc6e657e..70cfd7f9aa 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -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.
*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: >
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index d5aa79e317..b407631239 100644
--- 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
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 4ee889003d..ec2e3fdec2 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -449,7 +449,8 @@ m *+python/dyn* Python 2 interface |python-dynamic| |/dyn|
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