Skip to content

Commit c95e143

Browse files
dkearnschrisbra
authored andcommitted
runtime(doc): Miscellaneous documentation fixes
- Use full option name for 'clipboard' at :help :put. - Minor rewordings, typo fixes, and formatting fixes. related: #18453 closes: #18572 Signed-off-by: Doug Kearns <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 97da1ec commit c95e143

10 files changed

Lines changed: 38 additions & 39 deletions

File tree

runtime/doc/arabic.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*arabic.txt* For Vim version 9.1. Last change: 2021 Jun 22
1+
*arabic.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -191,7 +191,7 @@ o Enable Arabic settings [short-cut]
191191

192192
To activate the Arabic keymap (i.e. to remap your English/Latin
193193
keyboard to look-n-feel like a standard Arabic one), set the
194-
'keymap' command to "arabic". This is done by entering
194+
'keymap' option to "arabic". This is done by entering
195195
>
196196
:set keymap=arabic
197197
<

runtime/doc/change.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*change.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1137,12 +1137,12 @@ inside of strings can change! Also see 'softtabstop' option. >
11371137
current line). This always works |linewise|, thus
11381138
this command can be used to put a yanked block as new
11391139
lines.
1140-
If no register is specified, it depends on the 'cb'
1141-
option: If 'cb' contains "unnamedplus", paste from the
1142-
+ register |quoteplus|. Otherwise, if 'cb' contains
1143-
"unnamed", paste from the * register |quotestar|.
1144-
Otherwise, paste from the unnamed register
1145-
|quote_quote|.
1140+
If no register is specified, it depends on the
1141+
'clipboard' option: If 'clipboard' contains
1142+
"unnamedplus", paste from the + register |quoteplus|.
1143+
Otherwise, if 'clipboard' contains "unnamed", paste
1144+
from the * register |quotestar|. Otherwise, paste from
1145+
the unnamed register |quote_quote|.
11461146
The register can also be '=' followed by an optional
11471147
expression. The expression continues until the end of
11481148
the command. You need to escape the '|' and '"'

runtime/doc/diff.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*diff.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -139,7 +139,7 @@ file for a moment and come back to the same file and be in diff mode again.
139139
buffers.
140140

141141
The `:diffoff` command resets the relevant options to the values they had when
142-
using `:diffsplit`, `:diffpatch`, `:diffthis`. or starting Vim in diff mode.
142+
using `:diffsplit`, `:diffpatch`, `:diffthis`, or starting Vim in diff mode.
143143
When using `:diffoff` twice the last saved values are restored.
144144
Otherwise they are set to their default value:
145145

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 9.1. Last change: 2025 Oct 13
1+
*editing.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -137,7 +137,7 @@ as the original file with 'backupext' appended. The default "~" is a bit
137137
strange to avoid accidentally overwriting existing files. If you prefer
138138
".bak" change the 'backupext' option. Extra dots are replaced with '_' on
139139
MS-Windows machines, when Vim has detected that an MS-DOS-like filesystem is
140-
being used (e.g., messydos or crossdos) or when the 'shortname' option is on.
140+
being used, or when the 'shortname' option is on.
141141
The backup file can be placed in another directory by setting 'backupdir'.
142142

143143
*auto-shortname*

runtime/doc/if_mzsch.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_mzsch.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*if_mzsch.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Sergey Khorev
@@ -68,7 +68,7 @@ It is raised for various Vim errors.
6868

6969
During compilation, the MzScheme interface will remember the current MzScheme
7070
collection path. If you want to specify additional paths use the
71-
'current-library-collection-paths' parameter. E.g., to cons the user-local
71+
"current-library-collection-paths" parameter. E.g., to cons the user-local
7272
MzScheme collection path: >
7373
:mz << EOF
7474
(current-library-collection-paths

runtime/doc/if_perl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_perl.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*if_perl.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -18,9 +18,9 @@ Perl and Vim *perl* *Perl*
1818

1919
Vim syntax highlighting supports Perl and POD files. Vim assumes a file is
2020
Perl code if the filename has a .pl or .pm suffix. Vim also examines the
21-
first line of a file, regardless of the filename suffix, to check if a file is
22-
a Perl script (see scripts.vim in Vim's syntax directory). Vim assumes a file
23-
is POD text if the filename has a .POD suffix.
21+
shebang line of a file, if no filetype has been detected, to check if a file
22+
is a Perl script. Vim assumes a file is POD text if the filename has a .POD
23+
suffix.
2424

2525
To use tags with Perl, you need Universal/Exuberant Ctags. Look here:
2626
Universal Ctags (preferred): https://ctags.io

runtime/doc/indent.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*indent.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -717,12 +717,11 @@ Block if, select case, select type, select rank, where, forall, type,
717717
interface, associate, block, enum, critical, and change team constructs are
718718
indented. The indenting of subroutines, functions, modules, and program
719719
blocks is optional. Comments, labeled statements, and continuation lines are
720-
indented if the Fortran is in free source form, whereas they are not indented
721-
if the Fortran is in fixed source form because of the left margin
722-
requirements. Hence manual indent corrections will be necessary for labeled
723-
statements and continuation lines when fixed source form is being used. For
724-
further discussion of the method used for the detection of source format see
725-
|ft-fortran-syntax|.
720+
indented in free source form, whereas they are not indented in fixed source
721+
form because of the left margin requirements. Hence manual indent corrections
722+
will be necessary for labeled statements and continuation lines when fixed
723+
source form is being used. For further discussion of the method used for the
724+
detection of source format see |ft-fortran-syntax|.
726725

727726
Do loops ~
728727
All do loops are left unindented by default. Do loops can be unstructured in

runtime/doc/syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Oct 13
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5916,7 +5916,7 @@ guisp={color-name} *highlight-guisp*
59165916
If you want to develop a color list that can be relied on by others,
59175917
it is best to prefix your color names. By convention these color
59185918
lists are placed in the colors/lists directory. You can see an
5919-
example in '$VIMRUNTIME/colors/lists/csscolors.vim'. This list would
5919+
example in "$VIMRUNTIME/colors/lists/csscolors.vim". This list would
59205920
be sourced by a color scheme using: >
59215921
59225922
:runtime colors/lists/csscolors.vim

runtime/doc/terminal.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*terminal.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1811,9 +1811,9 @@ Change default signs ~
18111811
*termdebug_signs*
18121812
Termdebug uses the hex number of the breakpoint ID in the signcolumn to
18131813
represent breakpoints. If it is greater than "0xFF", then it will be
1814-
displayed as "F+", due to we really only have two screen cells for the sign.
1815-
You may also use decimal breakpoint signs instead, in which case IDs greater
1816-
than 99 will be displayed as "9+".
1814+
displayed as "F+", because there are only two screen cells available for the
1815+
sign. You may also use decimal breakpoint signs instead, in which case IDs
1816+
greater than 99 will be displayed as "9+".
18171817

18181818
If you want to customize the breakpoint signs to show `>>` in the signcolumn: >
18191819
let g:termdebug_config['sign'] = '>>'

runtime/doc/windows.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*windows.txt* For Vim version 9.1. Last change: 2025 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -127,11 +127,11 @@ This option can be local to the window, so that you can have a different
127127
status line in each window.
128128

129129
Normally, inversion is used to display the status line. This can be changed
130-
with the 's' character in the 'highlight' option. For example, "sb" sets it to
131-
bold characters. If no highlighting is used for the status line ("sn"), the
132-
'^' character is used for the current window, and '=' for other windows. If
133-
the mouse is supported and enabled with the 'mouse' option, a status line can
134-
be dragged to resize windows.
130+
with the 's' character in the 'highlight' option. For example, "sb" sets it
131+
to bold characters. If no highlighting is used for the status line ("sn"),
132+
the '^' character is used for the current window, and '=' for other windows.
133+
If the mouse is supported and enabled with the 'mouse' option, a status line
134+
can be dragged to resize windows.
135135

136136
Note: If you expect your status line to be in reverse video and it isn't,
137137
check if the 'highlight' option contains "si". In version 3.0, this meant to
@@ -142,7 +142,7 @@ that have termcap codes for italics.
142142

143143
*filler-lines*
144144
The lines after the last buffer line in a window are called filler lines. By
145-
default, these lines start with a tilde (~) character. The 'eob' item in the
145+
default, these lines start with a tilde (~) character. The "eob" item in the
146146
'fillchars' option can be used to change this character. By default, these
147147
characters are highlighted as NonText (|hl-NonText|). The EndOfBuffer
148148
highlight group (|hl-EndOfBuffer|) can be used to change the highlighting of

0 commit comments

Comments
 (0)