aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-17 23:31:18 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-17 23:46:00 -0500
commitad35cbca76222deb33357b63a61a29945ef084f7 (patch)
tree8106670804b58724a15c64da4473b78393528601 /runtime
parent3d0c3148fbc3b66636bb9627db64331365ac1732 (diff)
downloadrneovim-ad35cbca76222deb33357b63a61a29945ef084f7.tar.gz
rneovim-ad35cbca76222deb33357b63a61a29945ef084f7.tar.bz2
rneovim-ad35cbca76222deb33357b63a61a29945ef084f7.zip
vim-patch:8.2.0123: complete_info() does not work when CompleteDone is triggered
Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info. https://github.com/vim/vim/commit/17e04781f26c24769e202351c194ee252927eee1
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 45bead968d..774e6a5d92 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -596,6 +596,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 the
completed item.