runtime(doc): tweak option name notation further Commit: https://github.com/vim/vim/commit/bb0860abc9af6a6154e08fe0c29315b934e7ec42 Author: Hirohito Higashi <h.east....@gmail.com> Date: Wed Aug 6 17:00:58 2025 +0200
runtime(doc): tweak option name notation further related: https://github.com/vim/vim/issues/17857 closes: https://github.com/vim/vim/issues/17917 Signed-off-by: h-east <h.east....@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index 7fa135edb..13007488d 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -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 diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt index 9be598a33..d912be5a1 100644 --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -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 diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index c04a1e40e..2966a6303 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -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 diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 7525192db..7a12ee12b 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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. diff --git a/runtime/doc/os_dos.txt b/runtime/doc/os_dos.txt index c19a6ffd0..7e85f7145 100644 --- a/runtime/doc/os_dos.txt +++ b/runtime/doc/os_dos.txt @@ -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 diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt index ec2d5b604..f5fa0ac98 100644 --- a/runtime/doc/os_win32.txt +++ b/runtime/doc/os_win32.txt @@ -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. diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 4e36690a8..e6d1496ad 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -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. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1ujfr5-00GAxc-1x%40256bit.org.