diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2018-02-19 07:56:59 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-18 23:56:59 +0100 |
commit | 00665d3c701ef1b6b276f750a772a6aa8a42c8c1 (patch) | |
tree | d144bc9824f698909fe651451fed38bbbd752f36 /runtime | |
parent | eccd60aaf4ebc445d45e51a73d0807242e496a6a (diff) | |
download | rneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.tar.gz rneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.tar.bz2 rneovim-00665d3c701ef1b6b276f750a772a6aa8a42c8c1.zip |
vim-patch:8.0.1493: completion items cannot be annotated (#8003)
Problem: Completion items cannot be annotated.
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
coses vim/vim#2608, closes vim/vim#2508)
https://github.com/vim/vim/commit/9b56a57cdae31f7a2c85d440392bf63d3253a158
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/insert.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index b6cc18ab1b..9ae35bea52 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1077,6 +1077,8 @@ items: item with the same word is already present. empty when non-zero this match will be added even when it is an empty string + user_data custom data which is associated with the item and + available in |v:completed_item| All of these except "icase", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and further @@ -1170,6 +1172,8 @@ The menu is used when: The 'pumheight' option can be used to set a maximum height. The default is to use all space available. +The 'pumwidth' option can be used to set a minimum width. The default is 15 +characters. There are three states: 1. A complete match has been inserted, e.g., after using CTRL-N or CTRL-P. |