summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 7b7953273..07acb562a 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1102,14 +1102,17 @@ enum auto_event
EVENT_WINLEAVE, /* before leaving a window */
EVENT_ENCODINGCHANGED, /* after changing the 'encoding' option */
EVENT_CURSORHOLD, /* cursor in same position for a while */
+ EVENT_CURSORHOLDI, /* idem, in Insert mode */
EVENT_FUNCUNDEFINED, /* if calling a function which doesn't exist */
EVENT_REMOTEREPLY, /* upon string reception from a remote vim */
EVENT_SWAPEXISTS, /* found existing swap file */
EVENT_SPELLFILEMISSING, /* spell file missing */
+ EVENT_CURSORMOVED, /* cursor was moved */
+ EVENT_CURSORMOVEDI, /* cursor was moved in Insert mode */
NUM_EVENTS /* MUST be the last one */
};
-typedef enum auto_event EVENT_T;
+typedef enum auto_event event_T;
/*
* Values for index in highlight_attr[].