Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 1 | /* usercmd.c */ |
Bram Moolenaar | 52111f8 | 2019-04-29 21:30:45 +0200 | [diff] [blame] | 2 | char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 3 | char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); |
Shougo Matsushita | 79d599b | 2022-05-07 12:48:29 +0100 | [diff] [blame] | 4 | char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long argt, int context, expand_T *xp, int forceit); |
Bram Moolenaar | 80c88ea | 2021-09-08 14:29:46 +0200 | [diff] [blame] | 5 | char_u *expand_user_command_name(int idx); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 6 | char_u *get_user_commands(expand_T *xp, int idx); |
Bram Moolenaar | 80c88ea | 2021-09-08 14:29:46 +0200 | [diff] [blame] | 7 | char_u *get_user_command_name(int idx, int cmdidx); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 8 | char_u *get_user_cmd_addr_type(expand_T *xp, int idx); |
| 9 | char_u *get_user_cmd_flags(expand_T *xp, int idx); |
| 10 | char_u *get_user_cmd_nargs(expand_T *xp, int idx); |
| 11 | char_u *get_user_cmd_complete(expand_T *xp, int idx); |
Shougo Matsushita | 79d599b | 2022-05-07 12:48:29 +0100 | [diff] [blame] | 12 | char_u *cmdcomplete_type_to_str(int expand); |
Bram Moolenaar | 52111f8 | 2019-04-29 21:30:45 +0200 | [diff] [blame] | 13 | int cmdcomplete_str_to_type(char_u *complete_str); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 14 | char *uc_fun_cmd(void); |
Bram Moolenaar | 52111f8 | 2019-04-29 21:30:45 +0200 | [diff] [blame] | 15 | int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); |
Bram Moolenaar | 73b8b0a | 2021-08-01 14:52:32 +0200 | [diff] [blame] | 16 | char_u *may_get_cmd_block(exarg_T *eap, char_u *p, char_u **tofree, int *flags); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 17 | void ex_command(exarg_T *eap); |
| 18 | void ex_comclear(exarg_T *eap); |
| 19 | void uc_clear(garray_T *gap); |
| 20 | void ex_delcommand(exarg_T *eap); |
Bram Moolenaar | 02194d2 | 2020-10-24 23:08:38 +0200 | [diff] [blame] | 21 | size_t add_win_cmd_modifers(char_u *buf, cmdmod_T *cmod, int *multi_mods); |
Bram Moolenaar | a360dbe | 2020-10-26 18:46:53 +0100 | [diff] [blame] | 22 | size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 23 | void do_ucmd(exarg_T *eap); |
Bram Moolenaar | ac9fb18 | 2019-04-27 13:04:13 +0200 | [diff] [blame] | 24 | /* vim: set ft=c : */ |