mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 19:55:04 -07:00
api: clarify difference between win_hide and win_close
This commit is contained in:
parent
3a342f9cc9
commit
3fbd9ed4ab
@ -492,7 +492,12 @@ Dictionary nvim_win_get_config(Window window, Error *err)
|
||||
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[out] err Error details, if any
|
||||
|
Loading…
Reference in New Issue
Block a user