mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
chore: fix typos (#17670)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -127,7 +127,7 @@ Dictionary nvim__get_hl_defs(Integer ns_id, Error *err)
|
||||
///
|
||||
/// Note: Unlike the `:highlight` command which can update a highlight group,
|
||||
/// this function completely replaces the definition. For example:
|
||||
/// `nvim_set_hl(0, 'Visual', {})` will clear the highlight group 'Visual'.
|
||||
/// ``nvim_set_hl(0, 'Visual', {})`` will clear the highlight group 'Visual'.
|
||||
///
|
||||
/// @param ns_id Namespace id for this highlight |nvim_create_namespace()|.
|
||||
/// Use 0 to set a highlight group globally |:highlight|.
|
||||
|
@@ -71,7 +71,7 @@ ArrayOf(Integer, 2) nvim_win_get_cursor(Window window, Error *err)
|
||||
}
|
||||
|
||||
/// Sets the (1,0)-indexed cursor position in the window. |api-indexing|
|
||||
/// Unlike |win_execute()| this scrolls the window.
|
||||
/// This scrolls the window even if it is not the current one.
|
||||
///
|
||||
/// @param window Window handle, or 0 for current window
|
||||
/// @param pos (row, col) tuple representing the new position
|
||||
|
Reference in New Issue
Block a user