Fix some typos in documentation, C code and test files
closes: #18300 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
817e4d3ee6
commit
0e46e761fc
@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 9.1. Last change: 2025 Aug 06
|
||||
*diff.txt* For Vim version 9.1. Last change: 2025 Sep 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -351,7 +351,7 @@ hard to see what the actual edit on it was. You can use diff anchors to pin
|
||||
that function so the diff algorithm will align based on it.
|
||||
|
||||
To use it, set anchors using 'diffanchors' which is a comma-separated list of
|
||||
{address} in each file, and then add "anchor" to 'diffopt'. Internaly, Vim
|
||||
{address} in each file, and then add "anchor" to 'diffopt'. Internally, Vim
|
||||
splits each file up into sections split by the anchors. It performs the diff
|
||||
on each pair of sections separately before merging the results back.
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2025 Aug 06
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2025 Sep 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -392,8 +392,8 @@ help file it's best to copy one of the existing files and use it as a
|
||||
template.
|
||||
|
||||
Vim help files generally use 2 spaces after a sentence (since they are written
|
||||
using a fixed-width font and that was the prefered style in the 70s/80s), like
|
||||
what is described here: https://english.stackexchange.com/a/2602
|
||||
using a fixed-width font and that was the preferred style in the 70s/80s),
|
||||
like what is described here: https://english.stackexchange.com/a/2602
|
||||
|
||||
The first line in a help file should have the following format:
|
||||
|
||||
|
||||
@ -3044,7 +3044,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Each anchor line splits the buffer (the split happens above the
|
||||
anchor), with each part being diff'ed separately before the final
|
||||
result is joined. When more than one {address} are provided, the
|
||||
anchors will be sorted interally by line number. If using buffer
|
||||
anchors will be sorted internally by line number. If using buffer
|
||||
local options, each buffer should have the same number of anchors
|
||||
(extra anchors will be ignored). This option is only used when
|
||||
'diffopt' has "anchor" set. See |diff-anchors| for more details and
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*terminal.txt* For Vim version 9.1. Last change: 2025 Sep 14
|
||||
*terminal.txt* For Vim version 9.1. Last change: 2025 Sep 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1428,7 +1428,7 @@ gdb:
|
||||
set a temporary breakpoint at the specified position
|
||||
*:Clear* delete the breakpoint at the cursor position
|
||||
*:ToggleBreak* set a breakpoint at the cursor position or delete all
|
||||
breakpoints at the cursor positoin
|
||||
breakpoints at the cursor position
|
||||
|
||||
*:Step* execute the gdb "step" command
|
||||
*:Over* execute the gdb "next" command (`:Next` is a Vim command)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 02
|
||||
*wayland.txt* For Vim version 9.1. Last change: 2025 Sep 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -56,7 +56,7 @@ protocols, for accessing the current Wayland selection. These are the best
|
||||
case scenario protocols, see |wayland-focus-steal|. Selection in this case
|
||||
essentially means the "clipboard." You can check if your Wayland compositor
|
||||
supports either of these protocols by running the wayland-info command, which
|
||||
should be bunded with libwayland on your system: >
|
||||
should be bundled with libwayland on your system: >
|
||||
wayland-info | grep -E '(ext_data_control|zwlr_data_control)'
|
||||
<If grep finds a match, then you have either or both protocols on your system.
|
||||
If you don't get any match, then please see |wayland-focus-steal| for more
|
||||
|
||||
Reference in New Issue
Block a user