vim-patch:c95e143: runtime(doc): Miscellaneous documentation fixes (#36187)

- Use full option name for 'clipboard' at :help :put.
- Minor rewordings, typo fixes, and formatting fixes.

related: vim/vim#18453
closes: vim/vim#18572

c95e143819

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-10-15 07:09:25 +08:00
committed by GitHub
parent bd41f6eb6c
commit c8d6f3cf8a
5 changed files with 16 additions and 17 deletions

View File

@@ -189,7 +189,7 @@ o Enable Arabic settings [short-cut]
To activate the Arabic keymap (i.e. to remap your English/Latin To activate the Arabic keymap (i.e. to remap your English/Latin
keyboard to look-n-feel like a standard Arabic one), set the keyboard to look-n-feel like a standard Arabic one), set the
'keymap' command to "arabic". This is done by entering 'keymap' option to "arabic". This is done by entering
> >
:set keymap=arabic :set keymap=arabic
< <

View File

@@ -1092,12 +1092,12 @@ inside of strings can change! Also see 'softtabstop' option. >
current line). This always works |linewise|, thus current line). This always works |linewise|, thus
this command can be used to put a yanked block as new this command can be used to put a yanked block as new
lines. lines.
If no register is specified, it depends on the 'cb' If no register is specified, it depends on the
option: If 'cb' contains "unnamedplus", paste from the 'clipboard' option: If 'clipboard' contains
+ register |quoteplus|. Otherwise, if 'cb' contains "unnamedplus", paste from the + register |quoteplus|.
"unnamed", paste from the * register |quotestar|. Otherwise, if 'clipboard' contains "unnamed", paste
Otherwise, paste from the unnamed register from the * register |quotestar|. Otherwise, paste from
|quote_quote|. the unnamed register |quote_quote|.
The register can also be '=' followed by an optional The register can also be '=' followed by an optional
expression. The expression continues until the end of expression. The expression continues until the end of
the command. You need to escape the '|' and '"' the command. You need to escape the '|' and '"'

View File

@@ -126,7 +126,7 @@ file for a moment and come back to the same file and be in diff mode again.
buffers. buffers.
The `:diffoff` command resets the relevant options to the values they had when The `:diffoff` command resets the relevant options to the values they had when
using `:diffsplit`, `:diffpatch`, `:diffthis`. or starting Vim in diff mode. using `:diffsplit`, `:diffpatch`, `:diffthis`, or starting Vim in diff mode.
When using `:diffoff` twice the last saved values are restored. When using `:diffoff` twice the last saved values are restored.
Otherwise they are set to their default value: Otherwise they are set to their default value:

View File

@@ -713,12 +713,11 @@ Block if, select case, select type, select rank, where, forall, type,
interface, associate, block, enum, critical, and change team constructs are interface, associate, block, enum, critical, and change team constructs are
indented. The indenting of subroutines, functions, modules, and program indented. The indenting of subroutines, functions, modules, and program
blocks is optional. Comments, labeled statements, and continuation lines are blocks is optional. Comments, labeled statements, and continuation lines are
indented if the Fortran is in free source form, whereas they are not indented indented in free source form, whereas they are not indented in fixed source
if the Fortran is in fixed source form because of the left margin form because of the left margin requirements. Hence manual indent corrections
requirements. Hence manual indent corrections will be necessary for labeled will be necessary for labeled statements and continuation lines when fixed
statements and continuation lines when fixed source form is being used. For source form is being used. For further discussion of the method used for the
further discussion of the method used for the detection of source format see detection of source format see |ft-fortran-syntax|.
|ft-fortran-syntax|.
Do loops ~ Do loops ~
All do loops are left unindented by default. Do loops can be unstructured in All do loops are left unindented by default. Do loops can be unstructured in

View File

@@ -659,9 +659,9 @@ Change default signs ~
*termdebug_signs* *termdebug_signs*
Termdebug uses the hex number of the breakpoint ID in the signcolumn to Termdebug uses the hex number of the breakpoint ID in the signcolumn to
represent breakpoints. If it is greater than "0xFF", then it will be represent breakpoints. If it is greater than "0xFF", then it will be
displayed as "F+", due to we really only have two screen cells for the sign. displayed as "F+", because there are only two screen cells available for the
You may also use decimal breakpoint signs instead, in which case IDs greater sign. You may also use decimal breakpoint signs instead, in which case IDs
than 99 will be displayed as "9+". greater than 99 will be displayed as "9+".
If you want to customize the breakpoint signs to show `>>` in the signcolumn: >vim If you want to customize the breakpoint signs to show `>>` in the signcolumn: >vim
let g:termdebug_config['sign'] = '>>' let g:termdebug_config['sign'] = '>>'