neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit adbffff5d0e9972253079140453b55d8f9273b29
parent 0e54931b99530cd58af0434e12c58fe6243acb64
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 11 Nov 2024 08:20:41 +0800

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

https://github.com/vim/vim/commit/7c5152826f61bc968ba539ff6db3a55e75556bf2
Diffstat:
Mruntime/doc/quickfix.txt | 2+-
Mruntime/doc/syntax.txt | 2+-
Msrc/nvim/ex_cmds.c | 2+-
Mtest/old/testdir/test_diffmode.vim | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt @@ -349,7 +349,7 @@ processing a quickfix or location list command, it will be aborted. Example: > :g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".") < - *:lad* *:addd* *:laddexpr* + *:lad* *:ladd* *:laddexpr* :lad[dexpr] {expr} Same as ":caddexpr", except the location list for the current window is used instead of the quickfix list. diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt @@ -2196,7 +2196,7 @@ To specify elements that should not be concealed, set the following variable: > :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 - image diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c @@ -2261,7 +2261,7 @@ int do_ecmd(int fnum, char *ffname, char *sfname, exarg_T *eap, linenr_T newlnum if (buf == NULL) { 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)) { // window was split, but not editing the new buffer, reset b_nwindows again if (oldwin == NULL diff --git a/test/old/testdir/test_diffmode.vim b/test/old/testdir/test_diffmode.vim @@ -2007,7 +2007,7 @@ func Test_diff_overlapped_diff_blocks_will_be_merged() call StopVimInTerminal(buf) endfunc -" switching windows in diff mode caused an unneccessary scroll +" switching windows in diff mode caused an unnecessary scroll func Test_diff_topline_noscroll() CheckScreendump