]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Fix typos in several documents (#13420)
authorh_east <h.east.727@gmail.com>
Wed, 25 Oct 2023 13:47:05 +0000 (22:47 +0900)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 13:47:05 +0000 (14:47 +0100)
* 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>
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

index 5f57fdb59d3ff6e3d3b39b4338085ace986b6897..996f0fbba8872f28b1012f09e92ec73971f22b11 100644 (file)
@@ -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'})
index 8cae93ab834b0e99e00a9cd4982da8d07fbca985..a16c8aca6fae4f48858a3eb9c39b04517ba5e0f1 100644 (file)
@@ -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.
index b19c3067cb333f2bd3e85b7b9c63f58b8fb73cc2..f4ddb0876c10f6989b4d2dc5f18d05ac0338d5d3 100644 (file)
@@ -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
index cdb4992a745f433b1c98664b515121080d31f990..a08285e5affac6d9ffe122f9a3baa17c168f917a 100644 (file)
@@ -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|
index fe560d380712ffcee9f991728479e4e610b710c8..057d201581e8738be5c295b8f6f5bfa8958bece9 100644 (file)
@@ -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.
index 62bc6e657ec310eeb9185e929b1c3235c718da64..70cfd7f9aa045179a65329df9ddb7012863b23f3 100644 (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.
 
                                                *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: >
index d5aa79e31724904041c3d781316da7cb525959fe..b40763123963e59473c248a3ca9e7f91539a7283 100644 (file)
@@ -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
index 4ee889003db227ef76d7d8cf920593ec21afae3e..ec2e3fdec286254db46d9a2e0622ccfd96c05b5d 100644 (file)
@@ -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