diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 16:20:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 16:20:32 +0200 |
commit | 06fe74aef72606ac34c9f494186e52614b8fb59a (patch) | |
tree | cc18e67c68b4d19fdcd70349fcd180a2dcd36986 /runtime/doc/insert.txt | |
parent | 4bbfb0f3cc67c00c8cee4e47283e8d760025219d (diff) | |
download | vim-git-06fe74aef72606ac34c9f494186e52614b8fb59a.tar.gz |
Runtime files update.
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r-- | runtime/doc/insert.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 43b6d65f4..82691e8fc 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 8.1. Last change: 2019 Aug 18 +*insert.txt* For Vim version 8.1. Last change: 2019 Aug 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1119,8 +1119,9 @@ three lines, but 'previewheight' is used when it has a value of 1 or 2. *complete-popup* When "popup" is in 'completeopt' a popup window is used to display the "info". -Then the 'completepopup' option specifies the properties of the popup. The -option is a comma separated list of values: +Then the 'completepopup' option specifies the properties of the popup. This +is used when the info popup is created. The 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) @@ -1129,11 +1130,14 @@ option is a comma separated list of values: Example: > :set completepopup=height:10,width:60,highlight:InfoPopup -When the "align" value is "item then the popup is positioned close to the +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. +After the info popup is created it can be found with |popup_findinfo()| and +properties can be changed with |popup_setoptions()|. + 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: |