mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
api: clarify difference between win_hide and win_close
This commit is contained in:
@@ -492,7 +492,12 @@ Dictionary nvim_win_get_config(Window window, Error *err)
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Hides the window (like |:hide| with a |window-ID|).
|
/// Closes the window and hide the buffer it contains (like |:hide| with a
|
||||||
|
/// |window-ID|).
|
||||||
|
///
|
||||||
|
/// Like |:hide| the buffer becomes hidden unless another window is editing it,
|
||||||
|
/// or 'bufhidden' is `unload`, `delete` or `wipe` as opposed to |:close| or
|
||||||
|
/// |nvim_win_close|, which will close the buffer.
|
||||||
///
|
///
|
||||||
/// @param window Window handle, or 0 for current window
|
/// @param window Window handle, or 0 for current window
|
||||||
/// @param[out] err Error details, if any
|
/// @param[out] err Error details, if any
|
||||||
|
Reference in New Issue
Block a user