summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-04 14:32:48 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-04 14:32:48 +0100
commit0892832bb6c7e322fcae8560eaad5a8140ee4a06 (patch)
treed45503cc14259ea6c44cb63f26b69a6bfb4bfc3c /runtime
parent5cb0b93d52fa5c12ca50a18509947ee6459bb7a8 (diff)
downloadvim-git-0892832bb6c7e322fcae8560eaad5a8140ee4a06.tar.gz
patch 8.2.0084: complete item "user_data" can only be a stringv8.2.0084
Problem: Complete item "user_data" can only be a string. Solution: Accept any type of variable. (closes #5412)
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 419213dba..fa7c0f7c4 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1108,7 +1108,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