summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-17 18:58:59 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-17 18:58:59 +0100
commit17e04781f26c24769e202351c194ee252927eee1 (patch)
tree05c1e56ae9d9d329e7b1b2f9cf2318bad6c372f3 /runtime
parentf2a44e5c48b029666ded556e2ab052dfc1266d62 (diff)
downloadvim-git-17e04781f26c24769e202351c194ee252927eee1.tar.gz
patch 8.2.0123: complete_info() does not work when CompleteDone is triggeredv8.2.0123
Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 8ae0a4ec4..89ba5750d 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 8.2. Last change: 2019 Dec 17
+*autocmd.txt* For Vim version 8.2. Last change: 2020 Jan 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -610,6 +610,8 @@ CompleteChanged *CompleteChanged*
CompleteDone After Insert mode completion is done. Either
when something was completed or abandoning
completion. |ins-completion|
+ |complete_info()| can be used, the info is
+ cleared after triggering CompleteDone.
The |v:completed_item| variable contains
information about the completed item.