Mercurial > vim
diff src/vim.h @ 19199:8cbadf7fb9d4 v8.2.0158
patch 8.2.0158: triggering CompleteDone earlier is not backwards compatible
Commit: https://github.com/vim/vim/commit/3f169ce17e8b779d105c96138a8b4246f2d270b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 26 22:43:31 2020 +0100
patch 8.2.0158: triggering CompleteDone earlier is not backwards compatible
Problem: Triggering CompleteDone earlier is not backwards compatible.
(Daniel Hahler)
Solution: Add CompleteDonePre instead.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jan 2020 22:45:03 +0100 |
parents | 94eda51ba9ba |
children | 9c8b803fe598 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1303,6 +1303,7 @@ enum auto_event EVENT_COLORSCHEMEPRE, // before loading a colorscheme EVENT_COMPLETECHANGED, // after completion popup menu changed EVENT_COMPLETEDONE, // after finishing insert complete + EVENT_COMPLETEDONEPRE, // idem, before clearing info EVENT_CURSORHOLD, // cursor in same position for a while EVENT_CURSORHOLDI, // idem, in Insert mode EVENT_CURSORMOVED, // cursor was moved