Mercurial > vim
diff src/proto/ex_docmd.pro @ 16411:5b5c5daf57de v8.1.1210
patch 8.1.1210: support for user commands is spread out
commit https://github.com/vim/vim/commit/ac9fb18020d7e8bf16d02d45fbb02cf47328aaf7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 27 13:04:13 2019 +0200
patch 8.1.1210: support for user commands is spread out
Problem: Support for user commands is spread out. No good reason to make
user commands optional.
Solution: Move user command support to usercmd.c. Always enable the
user_commands feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Apr 2019 13:15:07 +0200 |
parents | 55ccc2d353bd |
children | 8c3a1bd270bb |
line wrap: on
line diff
--- a/src/proto/ex_docmd.pro +++ b/src/proto/ex_docmd.pro @@ -19,16 +19,6 @@ int ends_excmd(int c); char_u *find_nextcmd(char_u *p); char_u *check_nextcmd(char_u *p); char_u *get_command_name(expand_T *xp, int idx); -void ex_comclear(exarg_T *eap); -void uc_clear(garray_T *gap); -char_u *get_user_commands(expand_T *xp, int idx); -char_u *get_user_cmd_addr_type(expand_T *xp, int idx); -char_u *get_user_cmd_flags(expand_T *xp, int idx); -char_u *get_user_cmd_nargs(expand_T *xp, int idx); -char_u *get_user_cmd_complete(expand_T *xp, int idx); -int parse_addr_type_arg(char_u *value, int vallen, long *argt, int *addr_type_arg); -int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); -int cmdcomplete_str_to_type(char_u *complete_str); void not_exiting(void); void tabpage_close(int forceit); void tabpage_close_other(tabpage_T *tp, int forceit);