commit 19a3687f690f8bf8485c9b2480175e75b17eb0e8
parent 39a2cbbd58743a3ceaa5db8bdd085d4923bb3095
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 9 Nov 2025 07:55:27 +0800
vim-patch:185cec2: runtime(doc): Rewrite some overlength lines
closes: vim/vim#18695
https://github.com/vim/vim/commit/185cec2b0983dfe0b94ea7b24e390dc00c65686d
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
@@ -152,7 +152,7 @@ commands in CTRL-X submode *i_CTRL-X_index*
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
-|i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, keeping the text as-is
+|i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, text is unchanged
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|i_CTRL-X_s| CTRL-X s spelling suggestions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
@@ -1503,13 +1503,13 @@ Possible attributes are:
Note that -range=N and -count=N are mutually exclusive - only one should be
specified.
- *:command-addr*
-It is possible that the special characters in the range like `.`, `$` or `%`
-which by default correspond to the current line, last line and the whole
-buffer, relate to arguments, (loaded) buffers, windows or tab pages.
+ *:command-addr*
+It is possible that the special characters in the range like `.`, `$` or `%` which
+by default correspond to the current line, last line and the whole buffer,
+relate to arguments, (loaded) buffers, windows or tab pages.
Possible values are (second column is the short name used in listing):
- -addr=lines Range of lines (this is the default for -range)
+ -addr=lines Range of lines (the default for -range)
-addr=arguments arg Range for arguments
-addr=buffers buf Range for buffers (also not loaded buffers)
-addr=loaded_buffers load Range for loaded buffers
@@ -1517,12 +1517,11 @@ Possible values are (second column is the short name used in listing):
-addr=tabs tab Range for tab pages
-addr=quickfix qf Range for quickfix entries
-addr=other ? Other kind of range; can use ".", "$" and "%"
- as with "lines" (this is the default for
- -count)
+ as with "lines" (the default for -count)
Incremental preview ~
- *:command-preview* {nvim-api}
+ *:command-preview* {nvim-api}
Commands can show an 'inccommand' (as-you-type) preview by defining a preview
handler (only from Lua, see |nvim_create_user_command()|).
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
@@ -145,8 +145,8 @@ This only works in a Vim script file, not when typing commands at the
command line.
>
- command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
- \ | wincmd p | diffthis
+ command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
+ \ | diffthis | wincmd p | diffthis
This adds the ":DiffOrig" command. Use this in a modified buffer to see the
differences with the file it was loaded from. See |diff| and |:DiffOrig|.
@@ -290,7 +290,8 @@ when you use Vim. There are only two steps for adding a global plugin:
GETTING A GLOBAL PLUGIN
Where can you find plugins?
-- Some are always loaded, you can see them in the directory $VIMRUNTIME/plugin.
+- Some are always loaded, you can see them in the directory
+ $VIMRUNTIME/plugin.
- Some come with Vim. You can find them in the directory $VIMRUNTIME/scripts
and its sub-directories and under $VIM/vimfiles/pack/dist/opt/.
- Download from the net. There is a large collection on https://www.vim.org.