aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-12-12 01:53:07 +0100
committerGitHub <noreply@github.com>2022-12-12 08:53:07 +0800
commitb12bb97feeb84df47d672d39b2de170061c37f45 (patch)
tree95eb8f64238a6314c7fd233af740ae2f839735f9 /src
parent407eef473871b218e036a0c7ee993af3d4452777 (diff)
downloadrneovim-b12bb97feeb84df47d672d39b2de170061c37f45.tar.gz
rneovim-b12bb97feeb84df47d672d39b2de170061c37f45.tar.bz2
rneovim-b12bb97feeb84df47d672d39b2de170061c37f45.zip
docs: fix typos (#21328)
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/vim.c2
-rw-r--r--src/nvim/ex_getln.c2
-rw-r--r--src/nvim/testdir/test_quickfix.vim1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 857c03eb27..70b07dabe8 100644
--- 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
index 395cb5d98a..bd77df1704 100644
--- 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
index e13ff77705..8dc4173d60 100644
--- 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', {})