docs(api): rename "handle" => "id"

This commit is contained in:
Justin M. Keyes
2025-03-16 14:13:02 +01:00
parent cab3950762
commit 041a939eeb
9 changed files with 148 additions and 146 deletions

View File

@@ -34,7 +34,7 @@
///
/// @param window |window-ID|, or 0 for current window
/// @param[out] err Error details, if any
/// @return Buffer handle
/// @return Buffer id
Buffer nvim_win_get_buf(Window window, Error *err)
FUNC_API_SINCE(1)
{
@@ -50,7 +50,7 @@ Buffer nvim_win_get_buf(Window window, Error *err)
/// Sets the current buffer in a window, without side effects
///
/// @param window |window-ID|, or 0 for current window
/// @param buffer Buffer handle
/// @param buffer Buffer id
/// @param[out] err Error details, if any
void nvim_win_set_buf(Window window, Buffer buffer, Error *err)
FUNC_API_SINCE(5)