Search notes:

VIM struct: event_name

event_name is a static struct that assigns a name to an event number (enum auto_event, typedef event_T).
static struct event_name
{
    char	*name;	// event name
    event_T	event;	// event number
} event_names[] =
{
    {"BufAdd",		EVENT_BUFADD},
    {"BufCreate",	EVENT_BUFADD},
    {"BufDelete",	EVENT_BUFDELETE},
      …
};

Index