forked from aniani/vim
updated for version 7.0-072
This commit is contained in:
parent
9160f30161
commit
265e5074b5
@ -6980,6 +6980,7 @@ static struct event_name
|
|||||||
{"FocusLost", EVENT_FOCUSLOST},
|
{"FocusLost", EVENT_FOCUSLOST},
|
||||||
{"FuncUndefined", EVENT_FUNCUNDEFINED},
|
{"FuncUndefined", EVENT_FUNCUNDEFINED},
|
||||||
{"GUIEnter", EVENT_GUIENTER},
|
{"GUIEnter", EVENT_GUIENTER},
|
||||||
|
{"GUIFailed", EVENT_GUIFAILED},
|
||||||
{"InsertChange", EVENT_INSERTCHANGE},
|
{"InsertChange", EVENT_INSERTCHANGE},
|
||||||
{"InsertEnter", EVENT_INSERTENTER},
|
{"InsertEnter", EVENT_INSERTENTER},
|
||||||
{"InsertLeave", EVENT_INSERTLEAVE},
|
{"InsertLeave", EVENT_INSERTLEAVE},
|
||||||
|
@ -187,9 +187,10 @@ gui_start()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
/* If the GUI started successfully, trigger the GUIEnter event */
|
/* If the GUI started successfully, trigger the GUIEnter event, otherwise
|
||||||
if (gui.in_use)
|
* the GUIFailed event. */
|
||||||
apply_autocmds(EVENT_GUIENTER, NULL, NULL, FALSE, curbuf);
|
apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED,
|
||||||
|
NULL, NULL, FALSE, curbuf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
--recursive;
|
--recursive;
|
||||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
72,
|
||||||
/**/
|
/**/
|
||||||
71,
|
71,
|
||||||
/**/
|
/**/
|
||||||
|
@ -1120,6 +1120,7 @@ enum auto_event
|
|||||||
EVENT_FOCUSGAINED, /* got the focus */
|
EVENT_FOCUSGAINED, /* got the focus */
|
||||||
EVENT_FOCUSLOST, /* lost the focus to another app */
|
EVENT_FOCUSLOST, /* lost the focus to another app */
|
||||||
EVENT_GUIENTER, /* after starting the GUI */
|
EVENT_GUIENTER, /* after starting the GUI */
|
||||||
|
EVENT_GUIFAILED, /* after starting the GUI failed */
|
||||||
EVENT_INSERTCHANGE, /* when changing Insert/Replace mode */
|
EVENT_INSERTCHANGE, /* when changing Insert/Replace mode */
|
||||||
EVENT_INSERTENTER, /* when entering Insert mode */
|
EVENT_INSERTENTER, /* when entering Insert mode */
|
||||||
EVENT_INSERTLEAVE, /* when leaving Insert mode */
|
EVENT_INSERTLEAVE, /* when leaving Insert mode */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user