mirror of
https://github.com/neovim/neovim.git
synced 2026-07-29 03:48:00 +00:00
docs: misc, options, pos/range
This commit is contained in:
@@ -145,8 +145,7 @@
|
||||
/// Value can be one of "left", "center", or "right".
|
||||
/// Default is `"left"`.
|
||||
/// - height: Window height (in character cells). Minimum of 1.
|
||||
/// - hide: If true the floating window will be hidden and the cursor will be invisible when
|
||||
/// focused on it.
|
||||
/// - hide: Hides the floating window. |window-hidden|
|
||||
/// - mouse: Specify how this window interacts with mouse events.
|
||||
/// Defaults to `focusable` value.
|
||||
/// - If false, mouse events pass through this window.
|
||||
|
||||
@@ -343,12 +343,10 @@ Boolean nvim_win_is_valid(Window win)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// Closes the window and hide the buffer it contains (like |:hide| with a
|
||||
/// |window-ID|).
|
||||
/// Closes the window and hides the buffer it contains (like |:hide| with a |window-ID|; unrelated
|
||||
/// to the `hide` flag of |nvim_open_win()|, |nvim_win_get_config()|).
|
||||
///
|
||||
/// 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.
|
||||
/// Compare |:close| and |nvim_win_close()|, which close the buffer instead of hiding it.
|
||||
///
|
||||
/// @param win |window-ID|, or 0 for current window
|
||||
/// @param[out] err Error details, if any
|
||||
|
||||
Reference in New Issue
Block a user