docs: fix typos (#21328)

This commit is contained in:
dundargoc 2022-12-12 01:53:07 +01:00 committed by GitHub
parent 407eef4738
commit b12bb97fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View File

@ -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 }}

View File

@ -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.

View File

@ -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)
{

View File

@ -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) {

View File

@ -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', {})