comparison runtime/doc/insert.txt @ 17909:cc953757ed2a

Runtime files update. Commit: https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 31 16:20:32 2019 +0200 Runtime files update.
author Bram Moolenaar <Bram@vim.org>
date Sat, 31 Aug 2019 16:30:04 +0200
parents 9ec2526c04c5
children 8ac85adee561
comparison
equal deleted inserted replaced
17908:d9ada976a4c0 17909:cc953757ed2a
1 *insert.txt* For Vim version 8.1. Last change: 2019 Aug 18 1 *insert.txt* For Vim version 8.1. Last change: 2019 Aug 21
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1117 remove existing text in the preview window. The size of the preview window is 1117 remove existing text in the preview window. The size of the preview window is
1118 three lines, but 'previewheight' is used when it has a value of 1 or 2. 1118 three lines, but 'previewheight' is used when it has a value of 1 or 2.
1119 1119
1120 *complete-popup* 1120 *complete-popup*
1121 When "popup" is in 'completeopt' a popup window is used to display the "info". 1121 When "popup" is in 'completeopt' a popup window is used to display the "info".
1122 Then the 'completepopup' option specifies the properties of the popup. The 1122 Then the 'completepopup' option specifies the properties of the popup. This
1123 option is a comma separated list of values: 1123 is used when the info popup is created. The option is a comma separated list
1124 of values:
1124 height maximum height of the popup 1125 height maximum height of the popup
1125 width maximum width of the popup 1126 width maximum width of the popup
1126 highlight highlight group of the popup (default is Pmenu) 1127 highlight highlight group of the popup (default is Pmenu)
1127 align "item" (default) or "menu" 1128 align "item" (default) or "menu"
1128 border "on" (default) or "off" 1129 border "on" (default) or "off"
1129 Example: > 1130 Example: >
1130 :set completepopup=height:10,width:60,highlight:InfoPopup 1131 :set completepopup=height:10,width:60,highlight:InfoPopup
1131 1132
1132 When the "align" value is "item then the popup is positioned close to the 1133 When the "align" value is "item" then the popup is positioned close to the
1133 selected item. Changing the selection will also move the popup. When "align" 1134 selected item. Changing the selection will also move the popup. When "align"
1134 is "menu" then the popup is aligned with the top of the menu if the menu is 1135 is "menu" then the popup is aligned with the top of the menu if the menu is
1135 below the text, and the bottom of the menu otherwise. 1136 below the text, and the bottom of the menu otherwise.
1137
1138 After the info popup is created it can be found with |popup_findinfo()| and
1139 properties can be changed with |popup_setoptions()|.
1136 1140
1137 The "kind" item uses a single letter to indicate the kind of completion. This 1141 The "kind" item uses a single letter to indicate the kind of completion. This
1138 may be used to show the completion differently (different color or icon). 1142 may be used to show the completion differently (different color or icon).
1139 Currently these types can be used: 1143 Currently these types can be used:
1140 v variable 1144 v variable