src/nvim/fileio.c
/*
 * Add "what" to 'eventignore' to skip loading syntax highlighting for every
 * buffer loaded into the window.  "what" must start with a comma.
 * Returns the old value of 'eventignore' in allocated memory.
 */
Add "what" to 'eventignore' to skip loading syntax highlighting for every
buffer loaded into the window.  "what" must start with a comma.
Returns the old value of 'eventignore' in allocated memory.
Add " what " to ' eventignore ' to skip loading syntax highlighting for every buffer loaded into the window . " what " must start with a comma . Returns the old value of ' eventignore ' in allocated memory .
char_u *au_event_disable(char *what)
{
  char_u      *new_ei;
  char_u      *save_ei;
  save_ei = vim_strsave(p_ei);
  new_ei = vim_strnsave(p_ei, (int)(STRLEN(p_ei) + STRLEN(what)));
  if (*what == ',' && *p_ei == NUL)
    STRCPY(new_ei, what + 1);
  else
    STRCAT(new_ei, what);
  set_string_option_direct((char_u *)"ei", -1, new_ei, OPT_FREE, SID_NONE);
  xfree(new_ei);
  return save_ei;
}
char_u * au_event_disable ( char * what ) { char_u * new_ei ; char_u * save_ei ; save_ei = vim_strsave ( p_ei ) ; new_ei = vim_strnsave ( p_ei , ( int ) ( STRLEN ( p_ei ) + STRLEN ( what ) ) ) ; if ( * what == ' ' && * p_ei == NUL ) STRCPY ( new_ei , what + 1 ) ; else STRCAT ( new_ei , what ) ; set_string_option_direct ( ( char_u * ) " " , -1 , new_ei , OPT_FREE , SID_NONE ) ; xfree ( new_ei ) ; return save_ei ; }
Add "what" to 'eventignore' to skip loading syntax highlighting for every
 buffer loaded into the window.
Add " what " to ' eventignore ' to skip loading syntax highlighting for every buffer loaded into the window .