neovim

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

commit b12bb97feeb84df47d672d39b2de170061c37f45
parent 407eef473871b218e036a0c7ee993af3d4452777
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Mon, 12 Dec 2022 01:53:07 +0100

docs: fix typos (#21328)


Diffstat:
M.github/workflows/coverity.yml | 2+-
Mruntime/doc/api.txt | 2+-
Msrc/nvim/api/vim.c | 2+-
Msrc/nvim/ex_getln.c | 2+-
Msrc/nvim/testdir/test_quickfix.vim | 1+
5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml @@ -37,7 +37,7 @@ jobs: --form email=$EMAIL \ --form file=@cov-scan.tgz \ --form version="$(git rev-parse HEAD)" \ - --form description="Weekly GHA scan" \ + --form description="Daily GHA scan" \ 'https://scan.coverity.com/builds?project=neovim%2Fneovim' env: TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt @@ -1129,7 +1129,7 @@ nvim_list_uis() *nvim_list_uis()* • "width" Requested width of the UI • "rgb" true if the UI uses RGB colors (false implies |cterm-colors|) • "ext_..." Requested UI extensions, see |ui-option| - • "chan" Channel id of remote UI (not present for TUI) + • "chan" Channel id of remote UI or 0 for TUI nvim_list_wins() *nvim_list_wins()* Gets the current list of window handles. diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c @@ -1825,7 +1825,7 @@ Dictionary nvim__stats(void) /// - "width" Requested width of the UI /// - "rgb" true if the UI uses RGB colors (false implies |cterm-colors|) /// - "ext_..." Requested UI extensions, see |ui-option| -/// - "chan" Channel id of remote UI (not present for TUI) +/// - "chan" Channel id of remote UI or 0 for TUI Array nvim_list_uis(void) FUNC_API_SINCE(4) { diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c @@ -1691,7 +1691,7 @@ static void command_line_next_histidx(CommandLineState *s, bool next_match) } /// Handle the Up, Down, Page Up, Page down, CTRL-N and CTRL-P key in the -/// command-line mode. The pressed key is in 'c'. +/// command-line mode. static int command_line_browse_history(CommandLineState *s) { if (s->histype == HIST_INVALID || get_hislen() == 0 || s->firstc == NUL) { diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim @@ -2959,6 +2959,7 @@ func Test_cwindow_highlight() call writefile(lines, 'XtestCwindow') let buf = RunVimInTerminal('-S XtestCwindow', #{rows: 12}) call VerifyScreenDump(buf, 'Test_quickfix_cwindow_1', {}) + call term_sendkeys(buf, ":cnext\<CR>") call VerifyScreenDump(buf, 'Test_quickfix_cwindow_2', {})