vim-patch:9.1.0849: there are a few typos in the source (#31159)

Problem:  there are a few typos in the source.
Solution: Correct typos (zeertzjq).

closes: vim/vim#16026

7c5152826f
This commit is contained in:
zeertzjq
2024-11-11 08:20:41 +08:00
committed by GitHub
parent 0e54931b99
commit adbffff5d0
4 changed files with 4 additions and 4 deletions

View File

@@ -349,7 +349,7 @@ processing a quickfix or location list command, it will be aborted.
Example: > Example: >
:g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".") :g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".")
< <
*:lad* *:addd* *:laddexpr* *:lad* *:ladd* *:laddexpr*
:lad[dexpr] {expr} Same as ":caddexpr", except the location list for the :lad[dexpr] {expr} Same as ":caddexpr", except the location list for the
current window is used instead of the quickfix list. current window is used instead of the quickfix list.

View File

@@ -2196,7 +2196,7 @@ To specify elements that should not be concealed, set the following variable: >
:let g:pandoc#syntax#conceal#blacklist = [] :let g:pandoc#syntax#conceal#blacklist = []
This is a list of the rules wich can be used here: This is a list of the rules which can be used here:
- titleblock - titleblock
- image - image

View File

@@ -2261,7 +2261,7 @@ int do_ecmd(int fnum, char *ffname, char *sfname, exarg_T *eap, linenr_T newlnum
if (buf == NULL) { if (buf == NULL) {
goto theend; goto theend;
} }
// autocommands try to edit a file that is goind to be removed, abort // autocommands try to edit a file that is going to be removed, abort
if (buf_locked(buf)) { if (buf_locked(buf)) {
// window was split, but not editing the new buffer, reset b_nwindows again // window was split, but not editing the new buffer, reset b_nwindows again
if (oldwin == NULL if (oldwin == NULL

View File

@@ -2007,7 +2007,7 @@ func Test_diff_overlapped_diff_blocks_will_be_merged()
call WriteDiffFiles3(buf, ["a", "b", "c"], ["a", "x", "c"], ["a", "b", "y", "c"]) call WriteDiffFiles3(buf, ["a", "b", "c"], ["a", "x", "c"], ["a", "b", "y", "c"])
call VerifyBoth(buf, "Test_diff_overlapped_3.37", "") call VerifyBoth(buf, "Test_diff_overlapped_3.37", "")
call StopVimInTerminal(buf) call StopVimInTerminal(buf)
endfunc endfunc
" switching windows in diff mode caused an unnecessary scroll " switching windows in diff mode caused an unnecessary scroll