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.
This commit is contained in:
		| @ -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. | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user