aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-04-27 21:12:12 +0200
committerGitHub <noreply@github.com>2020-04-27 21:12:12 +0200
commitc7d3630e214012667e855c30cde2808a5fe59650 (patch)
treecc2024053865052d34e7e8ebebbd45a4064d29ee /runtime
parentd90a92bcd3c18111abb62a57192c9e151839a7f4 (diff)
parente34684b2ad02e759dec39c0f0958c7882120ecdc (diff)
downloadrneovim-c7d3630e214012667e855c30cde2808a5fe59650.tar.gz
rneovim-c7d3630e214012667e855c30cde2808a5fe59650.tar.bz2
rneovim-c7d3630e214012667e855c30cde2808a5fe59650.zip
Merge pull request #11943 from yatli/master
[RDY] API/UI: Allow UI to set PUM position and size, and pass the position to CompleteChanged
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 39b6c6417d..a2e0c56f85 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2341,6 +2341,22 @@ nvim_ui_pum_set_height({height}) *nvim_ui_pum_set_height()*
Parameters: ~
{height} Popupmenu height, must be greater than zero.
+ *nvim_ui_pum_set_bounds()*
+nvim_ui_pum_set_bounds({width}, {height}, {row}, {col})
+
+ Tells Nvim the geometry of the popumenu, to align floating
+ windows with an external popup menu. Note that this method
+ is not to be confused with |nvim_ui_pum_set_height()|, which
+ sets the number of visible items in the popup menu, while
+ this function sets the bounding box of the popup menu,
+ including visual decorations such as boarders and sliders.
+
+ Parameters: ~
+ {width} Popupmenu width.
+ {height} Popupmenu height.
+ {row} Popupmenu row.
+ {height} Popupmenu height.
+
nvim_ui_set_option({name}, {value}) *nvim_ui_set_option()*
TODO: Documentation