patch 8.1.1904: cannot have an info popup align with the popup menu

Problem:    Cannot have an info popup align with the popup menu.
Solution:   Add the "align" item to 'completepopup'.
This commit is contained in:
Bram Moolenaar
2019-08-21 17:29:29 +02:00
parent 9cb698d564
commit 258cef59d8
9 changed files with 116 additions and 1 deletions
+7
View File
@@ -1124,9 +1124,16 @@ option is a comma separated list of values:
height maximum height of the popup
width maximum width of the popup
highlight highlight group of the popup (default is Pmenu)
align "item" (default) or "menu"
border "on" (default) or "off"
Example: >
:set completepopup=height:10,width:60,highlight:InfoPopup
When the "align" value is "item then the popup is positioned close to the
selected item. Changing the selection will also move the popup. When "align"
is "menu" then the popup is aligned with the top of the menu if the menu is
below the text, and the bottom of the menu otherwise.
The "kind" item uses a single letter to indicate the kind of completion. This
may be used to show the completion differently (different color or icon).
Currently these types can be used: