Lines Matching refs:eap

337 static void syn_cmd_onoff(exarg_T *eap, char *name);
3320 syn_cmd_conceal(exarg_T *eap UNUSED, int syncing UNUSED) in syn_cmd_conceal()
3323 char_u *arg = eap->arg; in syn_cmd_conceal()
3326 eap->nextcmd = find_nextcmd(arg); in syn_cmd_conceal()
3327 if (eap->skip) in syn_cmd_conceal()
3351 syn_cmd_case(exarg_T *eap, int syncing UNUSED) in syn_cmd_case() argument
3353 char_u *arg = eap->arg; in syn_cmd_case()
3356 eap->nextcmd = find_nextcmd(arg); in syn_cmd_case()
3357 if (eap->skip) in syn_cmd_case()
3380 syn_cmd_foldlevel(exarg_T *eap, int syncing UNUSED) in syn_cmd_foldlevel() argument
3382 char_u *arg = eap->arg; in syn_cmd_foldlevel()
3385 eap->nextcmd = find_nextcmd(arg); in syn_cmd_foldlevel()
3386 if (eap->skip) in syn_cmd_foldlevel()
3422 syn_cmd_spell(exarg_T *eap, int syncing UNUSED) in syn_cmd_spell() argument
3424 char_u *arg = eap->arg; in syn_cmd_spell()
3427 eap->nextcmd = find_nextcmd(arg); in syn_cmd_spell()
3428 if (eap->skip) in syn_cmd_spell()
3461 syn_cmd_iskeyword(exarg_T *eap, int syncing UNUSED) in syn_cmd_iskeyword() argument
3463 char_u *arg = eap->arg; in syn_cmd_iskeyword()
3467 if (eap->skip) in syn_cmd_iskeyword()
3659 syn_cmd_clear(exarg_T *eap, int syncing) in syn_cmd_clear() argument
3661 char_u *arg = eap->arg; in syn_cmd_clear()
3665 eap->nextcmd = find_nextcmd(arg); in syn_cmd_clear()
3666 if (eap->skip) in syn_cmd_clear()
3678 if (ends_excmd2(eap->cmd, arg)) in syn_cmd_clear()
3698 while (!ends_excmd2(eap->cmd, arg)) in syn_cmd_clear()
3769 syn_cmd_on(exarg_T *eap, int syncing UNUSED) in syn_cmd_on() argument
3771 syn_cmd_onoff(eap, "syntax"); in syn_cmd_on()
3778 syn_cmd_enable(exarg_T *eap, int syncing UNUSED) in syn_cmd_enable() argument
3781 syn_cmd_onoff(eap, "syntax"); in syn_cmd_enable()
3790 syn_cmd_reset(exarg_T *eap, int syncing UNUSED) in syn_cmd_reset() argument
3792 set_nextcmd(eap, eap->arg); in syn_cmd_reset()
3793 if (!eap->skip) in syn_cmd_reset()
3805 syn_cmd_manual(exarg_T *eap, int syncing UNUSED) in syn_cmd_manual() argument
3807 syn_cmd_onoff(eap, "manual"); in syn_cmd_manual()
3814 syn_cmd_off(exarg_T *eap, int syncing UNUSED) in syn_cmd_off() argument
3816 syn_cmd_onoff(eap, "nosyntax"); in syn_cmd_off()
3820 syn_cmd_onoff(exarg_T *eap, char *name) in syn_cmd_onoff() argument
3824 set_nextcmd(eap, eap->arg); in syn_cmd_onoff()
3825 if (!eap->skip) in syn_cmd_onoff()
3838 exarg_T *eap, in syn_cmd_list() argument
3841 char_u *arg = eap->arg; in syn_cmd_list()
3845 eap->nextcmd = find_nextcmd(arg); in syn_cmd_list()
3846 if (eap->skip) in syn_cmd_list()
3894 if (ends_excmd2(eap->cmd, arg)) in syn_cmd_list()
3909 while (!ends_excmd2(eap->cmd, arg) && !got_int) in syn_cmd_list()
3931 set_nextcmd(eap, arg); in syn_cmd_list()
4733 syn_cmd_include(exarg_T *eap, int syncing UNUSED) in syn_cmd_include() argument
4735 char_u *arg = eap->arg; in syn_cmd_include()
4744 eap->nextcmd = find_nextcmd(arg); in syn_cmd_include()
4745 if (eap->skip) in syn_cmd_include()
4761 eap->arg = rest; in syn_cmd_include()
4768 eap->argt |= (EX_XFILE | EX_NOSPC); in syn_cmd_include()
4769 separate_nextcmd(eap); in syn_cmd_include()
4770 if (*eap->arg == '<' || *eap->arg == '$' || mch_isFullName(eap->arg)) in syn_cmd_include()
4776 if (expand_filename(eap, syn_cmdlinep, &errormsg) == FAIL) in syn_cmd_include()
4797 if (source ? do_source(eap->arg, FALSE, DOSO_NONE, NULL) == FAIL in syn_cmd_include()
4798 : source_runtime(eap->arg, DIP_ALL) == FAIL) in syn_cmd_include()
4799 semsg(_(e_notopen), eap->arg); in syn_cmd_include()
4808 syn_cmd_keyword(exarg_T *eap, int syncing UNUSED) in syn_cmd_keyword() argument
4810 char_u *arg = eap->arg; in syn_cmd_keyword()
4825 if (eap->skip) in syn_cmd_keyword()
4848 for ( ; rest != NULL && !ends_excmd2(eap->arg, rest); in syn_cmd_keyword()
4852 eap->skip); in syn_cmd_keyword()
4853 if (rest == NULL || ends_excmd2(eap->arg, rest)) in syn_cmd_keyword()
4866 if (!eap->skip) in syn_cmd_keyword()
4924 set_nextcmd(eap, rest); in syn_cmd_keyword()
4939 exarg_T *eap, in syn_cmd_match() argument
4942 char_u *arg = eap->arg; in syn_cmd_match()
4964 rest = get_syn_options(rest, &syn_opt_arg, &conceal_char, eap->skip); in syn_cmd_match()
4974 rest = get_syn_options(rest, &syn_opt_arg, &conceal_char, eap->skip); in syn_cmd_match()
4981 set_nextcmd(eap, rest); in syn_cmd_match()
4982 if (!ends_excmd2(eap->cmd, rest) || eap->skip) in syn_cmd_match()
5044 exarg_T *eap, in syn_cmd_region() argument
5047 char_u *arg = eap->arg; in syn_cmd_region()
5097 while (rest != NULL && !ends_excmd2(eap->cmd, rest)) in syn_cmd_region()
5100 rest = get_syn_options(rest, &syn_opt_arg, &conceal_char, eap->skip); in syn_cmd_region()
5101 if (rest == NULL || ends_excmd2(eap->cmd, rest)) in syn_cmd_region()
5149 if ((p - rest == 4 && STRNCMP(rest, "NONE", 4) == 0) || eap->skip) in syn_cmd_region()
5221 set_nextcmd(eap, rest); in syn_cmd_region()
5222 if (!ends_excmd(*rest) || eap->skip) in syn_cmd_region()
5560 syn_cmd_cluster(exarg_T *eap, int syncing UNUSED) in syn_cmd_cluster() argument
5562 char_u *arg = eap->arg; in syn_cmd_cluster()
5571 eap->nextcmd = find_nextcmd(arg); in syn_cmd_cluster()
5572 if (eap->skip) in syn_cmd_cluster()
5608 if (get_id_list(&rest, opt_len, &clstr_list, eap->skip) == FAIL) in syn_cmd_cluster()
5630 if (rest == NULL || !ends_excmd2(eap->cmd, rest)) in syn_cmd_cluster()
5752 syn_cmd_sync(exarg_T *eap, int syncing UNUSED) in syn_cmd_sync() argument
5754 char_u *arg_start = eap->arg; in syn_cmd_sync()
5763 if (ends_excmd2(eap->cmd, arg_start)) in syn_cmd_sync()
5765 syn_cmd_list(eap, TRUE); in syn_cmd_sync()
5769 while (!ends_excmd2(eap->cmd, arg_start)) in syn_cmd_sync()
5779 if (!eap->skip) in syn_cmd_sync()
5781 if (!ends_excmd2(eap->cmd, next_arg)) in syn_cmd_sync()
5784 if (!eap->skip) in syn_cmd_sync()
5789 else if (!eap->skip) in syn_cmd_sync()
5809 if (!eap->skip) in syn_cmd_sync()
5821 if (!eap->skip) in syn_cmd_sync()
5847 if (!eap->skip) in syn_cmd_sync()
5880 eap->arg = next_arg; in syn_cmd_sync()
5882 syn_cmd_match(eap, TRUE); in syn_cmd_sync()
5884 syn_cmd_region(eap, TRUE); in syn_cmd_sync()
5886 syn_cmd_clear(eap, TRUE); in syn_cmd_sync()
5899 set_nextcmd(eap, arg_start); in syn_cmd_sync()
6280 ex_syntax(exarg_T *eap) in ex_syntax() argument
6282 char_u *arg = eap->arg; in ex_syntax()
6287 syn_cmdlinep = eap->cmdlinep; in ex_syntax()
6295 if (eap->skip) // skip error messages for all subcommands in ex_syntax()
6306 eap->arg = skipwhite(subcmd_end); in ex_syntax()
6307 (subcommands[i].func)(eap, FALSE); in ex_syntax()
6312 if (eap->skip) in ex_syntax()
6318 ex_ownsyntax(exarg_T *eap) in ex_ownsyntax() argument
6348 apply_autocmds(EVENT_SYNTAX, eap->arg, curbuf->b_fname, TRUE, curbuf); in ex_ownsyntax()
6624 ex_syntime(exarg_T *eap) in ex_syntime() argument
6626 if (STRCMP(eap->arg, "on") == 0) in ex_syntime()
6628 else if (STRCMP(eap->arg, "off") == 0) in ex_syntime()
6630 else if (STRCMP(eap->arg, "clear") == 0) in ex_syntime()
6632 else if (STRCMP(eap->arg, "report") == 0) in ex_syntime()
6635 semsg(_(e_invarg2), eap->arg); in ex_syntime()