summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-26 22:43:31 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-26 22:43:31 +0100
commit3f169ce17e8b779d105c96138a8b4246f2d270b9 (patch)
tree2723f598d986390199afb8c86298ea5c6391ebb9 /src/autocmd.c
parent318e7a9c03ed4beadd3c6089f5807938e3c1f843 (diff)
downloadvim-git-3f169ce17e8b779d105c96138a8b4246f2d270b9.tar.gz
patch 8.2.0158: triggering CompleteDone earlier is not backwards compatiblev8.2.0158
Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead.
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index 13aa065ec..dce23b897 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -114,6 +114,7 @@ static struct event_name
{"ColorSchemePre", EVENT_COLORSCHEMEPRE},
{"CompleteChanged", EVENT_COMPLETECHANGED},
{"CompleteDone", EVENT_COMPLETEDONE},
+ {"CompleteDonePre", EVENT_COMPLETEDONEPRE},
{"CursorHold", EVENT_CURSORHOLD},
{"CursorHoldI", EVENT_CURSORHOLDI},
{"CursorMoved", EVENT_CURSORMOVED},