]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): tweak option name notation further
authorHirohito Higashi <h.east.727@gmail.com>
Wed, 6 Aug 2025 15:00:58 +0000 (17:00 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 6 Aug 2025 15:00:58 +0000 (17:00 +0200)
related: #17857
closes: #17917

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/filetype.txt
runtime/doc/gui.txt
runtime/doc/index.txt
runtime/doc/options.txt
runtime/doc/os_dos.txt
runtime/doc/os_win32.txt
runtime/doc/syntax.txt

index 7fa135edb14a1e9c1eb0380ba7d4de8b6e93d70c..13007488d8954aa4188b1fa84ecc6a632f3c016c 100644 (file)
@@ -42,7 +42,7 @@ Detail: The ":filetype on" command will load one of these files:
        name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
        contents of the file.
        When the GUI is running or will start soon, the |menu.vim| script is
-       also sourced.  See 'go-M' about avoiding that.
+       also sourced.  See |'go-M'| about avoiding that.
 
 To add your own file types, see |new-filetype| below.  To search for help on a
 filetype prepend "ft-" and optionally append "-syntax", "-indent" or
index 9be598a33832979478dfd3054551c992a55a89e9..d912be5a1f1e4bfdd4f1e7a9813a2a1ee8c6c327 100644 (file)
@@ -491,7 +491,7 @@ menus and menu items.  They are most useful for things that you can't remember
 what the key sequence was.
 
 For creating menus in a different language, see |:menutrans|.
-If you don't want to use menus at all, see 'go-M'.
+If you don't want to use menus at all, see |'go-M'|.
 
                                                        *menu.vim*
 The default menus are read from the file "$VIMRUNTIME/menu.vim".  See
index c04a1e40ef64129a67eee2233124cf42584a5494..2966a6303f7cb6f91705aa70389d28b4b76fba81 100644 (file)
@@ -1034,7 +1034,7 @@ tag               command         action in Command-line editing mode     ~
 |c_CTRL-D|     CTRL-D          list completions that match the pattern in
                                front of the cursor
 |c_CTRL-E|     CTRL-E          cursor to end of command-line
-'cedit'        CTRL-F          default value for 'cedit': opens the
+'cedit'                CTRL-F          default value for 'cedit': opens the
                                command-line window; otherwise not used
 |c_CTRL-G|     CTRL-G          next match when 'incsearch' is active
 |c_<BS>|       <BS>            delete the character in front of the cursor
index 7525192db2d93f6e076578c4f594de569d28b1b9..7a12ee12b6903290460312dc617c420dcd168641 100644 (file)
@@ -1035,7 +1035,7 @@ A jump table for the options with a short description can be found at |Q_op|.
 <      Vim will guess the value.  In the GUI this should work correctly,
        in other cases Vim might not be able to guess the right value.
        If the GUI supports a dark theme, you can use the "d" flag in
-       'guioptions', see 'go-d'.
+       'guioptions', see |'go-d'|.
 
        When the |t_RB| option is set, Vim will use it to request the background
        color from the terminal.  If the returned RGB value is dark/light and
@@ -1798,7 +1798,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        after that.  Therefore do not append an item with += but use ^= to
        prepend, e.g.: >
                set clipboard^=unnamed
-<      When using the GUI see 'go-A'.
+<      When using the GUI see |'go-A'|.
        These names are recognized:
 
                                                *clipboard-unnamed*
@@ -1832,7 +1832,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                        area extended, Vim tries to become the owner of the
                        windowing system's global selection or put the
                        selected text on the clipboard used by the selection
-                       register "*.  See 'go-a' and |quotestar| for details.
+                       register "*.  See |'go-a'| and |quotestar| for details.
                        When the GUI is active, the 'a' flag in 'guioptions'
                        is used, when the GUI is not active, this "autoselect"
                        flag is used.
index c19a6ffd002d423d49e8bfc110319c61a33ba159..7e85f7145ab599b76f693c1a270418bb1ca50aec 100644 (file)
@@ -231,7 +231,6 @@ writing in Unix mode (":se ff=unix").
 
 Vim sets 'fileformat' automatically when 'fileformats' is not empty (which is
 the default), so you don't really have to worry about what you are doing.
-                                       'fileformat' 'fileformats'
 
 If you want to edit a script file or a binary file, you should set the
 'binary' option before loading the file.  Script files and binary files may
index ec2d5b6046368ca1505e40e5ee1b85f7dd3dc7b3..f5fa0ac98ed067297867c7fb49f1f3749f703f5b 100644 (file)
@@ -312,7 +312,7 @@ A. You have three possible solutions depending on what you want:
       should use this flag only if the application you run doesn't require any
       input.  Otherwise it will get an EOF error because its input stream
       (stdin) would be redirected to \\.\NUL (stdout and stderr too).
-   3) Set the '!' flag in the 'guioptions' option 'go-!'. This will make Vim
+   3) Set the '!' flag in the 'guioptions' option |'go-!'|. This will make Vim
       run the "start" command inside Vims terminal window and not open a
       console window.
 
index 4e36690a8a65b9c411b5bf0a46529c7df807fc8c..e6d1496ad02982b33fd2e0fc3c8a157a13e8a99c 100644 (file)
@@ -64,7 +64,7 @@ directory where the Vim stuff is located.  For example, if your syntax files
 are in the "/usr/vim/vim82/syntax" directory, set $VIMRUNTIME to
 "/usr/vim/vim82".  You must do this in the shell, before starting Vim.
 This command also sources the |menu.vim| script when the GUI is running or
-will start soon.  See 'go-M' about avoiding that.
+will start soon.  See |'go-M'| about avoiding that.
 
                                                        *:syn-on* *:syntax-on*
 The `:syntax enable` command will keep most of your current color settings.