From 1adbdb397df3509f3b9b3ed8f6a81dd044d278d9 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 9 Sep 2019 08:34:40 +0200 Subject: doc: nvim_ui_pum_set_height [ci skip] --- src/nvim/api/ui.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/nvim/api/ui.c') diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 9ff2a529ae..ada26a2a07 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -314,14 +314,11 @@ void nvim_ui_try_resize_grid(uint64_t channel_id, Integer grid, Integer width, ui_grid_resize((handle_T)grid, (int)width, (int)height, err); } -/// Tell Nvim the number of element displayed in popumenu. The amount of -/// movement by or is determined by the value set by this. -/// -/// If the ext_popupmenu option is false or the height is 0 or less, fails -/// with error. +/// Tells Nvim the number of elements displaying in the popumenu, to decide +/// and movement. /// /// @param channel_id -/// @param height The popupmenu height. +/// @param height Popupmenu height, must be greater than zero. /// @param[out] err Error details, if any void nvim_ui_pum_set_height(uint64_t channel_id, Integer height, Error *err) FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY -- cgit