aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-11 00:17:31 -0700
committerGitHub <noreply@github.com>2019-09-11 00:17:31 -0700
commit6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac (patch)
tree3ce93e047b47db2831308f1501e16fc3a5bf7c16 /src/nvim/api/ui.c
parentb735583377bf5c15a7bd5e910e4ae9fa833c1e42 (diff)
parent06bfb07e3594b019fc32120c9ba9d09ca4dd5087 (diff)
downloadrneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.gz
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.bz2
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.zip
Merge #10986 'doc'
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r--src/nvim/api/ui.c9
1 files changed, 3 insertions, 6 deletions
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 <PageUp> or <PageDown> 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
+/// <PageUp> and <PageDown> 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