aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBlaž Hrastnik <blaz@mxxn.io>2020-04-29 00:27:14 +0900
committerBlaž Hrastnik <blaz@mxxn.io>2020-04-29 11:15:49 +0900
commitc477b19bdca0cc57e08f5fb93f647767ea84dd3e (patch)
tree8a931968ac4d76fd8684e829a9030303f0fb3a36 /runtime
parentc7d3630e214012667e855c30cde2808a5fe59650 (diff)
downloadrneovim-c477b19bdca0cc57e08f5fb93f647767ea84dd3e.tar.gz
rneovim-c477b19bdca0cc57e08f5fb93f647767ea84dd3e.tar.bz2
rneovim-c477b19bdca0cc57e08f5fb93f647767ea84dd3e.zip
vim-patch:8.2.0084: complete item "user_data" can only be a string
Problem: Complete item "user_data" can only be a string. Solution: Accept any type of variable. (closes vim/vim#5412) https://github.com/vim/vim/commit/0892832bb6c7e322fcae8560eaad5a8140ee4a06
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/insert.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index fce4d8628e..e53af5074b 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1083,7 +1083,8 @@ items:
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|
+ available in |v:completed_item|; it can be any type;
+ defaults to an empty string
All of these except "icase", "equal", "dup" and "empty" must be a string. If
an item does not meet these requirements then an error message is given and