diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-04 14:32:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-04 14:32:48 +0100 |
commit | 0892832bb6c7e322fcae8560eaad5a8140ee4a06 (patch) | |
tree | d45503cc14259ea6c44cb63f26b69a6bfb4bfc3c /runtime/doc/insert.txt | |
parent | 5cb0b93d52fa5c12ca50a18509947ee6459bb7a8 (diff) | |
download | vim-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/doc/insert.txt')
-rw-r--r-- | runtime/doc/insert.txt | 3 |
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 |